diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-01 02:31:28 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-10-01 02:31:28 +0000 |
commit | 9f569cca2a4c5fb6026005434e27025b9e71309d (patch) | |
tree | 4623644f5d65a1ca5526ea45bb24069efa896bfa /lib/Sema/SemaExpr.cpp | |
parent | 00ca8483cf8e86a5ea08310c6727fd7848980043 (diff) |
constexpr: semantic checking for constexpr functions and constructors. Based in
part on patches by Peter Collingbourne.
We diverge from the C++11 standard in a few areas, mostly related to checking
constexpr function declarations, and not just definitions. See WG21 paper
N3308=11-0078 for details.
Function invocation substitution is not available in this patch; constexpr
functions cannot yet be used from within constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions