]> granicus.if.org Git - clang/commit
constexpr: Implement DR1358: An instantiation of a constexpr function which
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 5 Feb 2012 02:30:54 +0000 (02:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 5 Feb 2012 02:30:54 +0000 (02:30 +0000)
commitd79093af384ac0ea78f4237a001eae7467e06a61
tree0cd1893ec8167f9049d92f4f498aec38e12aac8d
parent94010695f7fce626e41ef045b60def9c912e9ce8
constexpr: Implement DR1358: An instantiation of a constexpr function which
can't produce a constant expression is not ill-formed (so long as some
instantiation of that function can produce a constant expression).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149802 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p5.cpp