]> granicus.if.org Git - clang/commit
constexpr function substitution:
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 29 Oct 2011 20:57:55 +0000 (20:57 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 29 Oct 2011 20:57:55 +0000 (20:57 +0000)
commit47a1eed1cdd36edbefc318f29be6c0f3212b0c41
tree43fd87db4e7acc9eea4b7899bba7afaef085192f
parent0216df8fd3ce58f5a68ef2ab141ea34c96c11164
constexpr function substitution:
Track the function invocation where an lvalue referring to a constexpr function
parameter originated from, and use it to substitute the correct argument and to
determine whether such an argument's lifetime has ended.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143296 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/APValue.h
lib/AST/APValue.cpp
lib/AST/ExprConstant.cpp
test/SemaCXX/constant-expression-cxx11.cpp