]> granicus.if.org Git - clang/commit
PR24612: Don't bail out of checking a constexpr function before checking
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 28 Aug 2015 22:33:53 +0000 (22:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 28 Aug 2015 22:33:53 +0000 (22:33 +0000)
commit578238609c3e2ff0baa32aa9543f8921c8d4d0eb
tree7e7004b63787f5b1b2c270a291440a45182b2e64
parent4df4927382d9aad617b181be65b517ebdb98e35d
PR24612: Don't bail out of checking a constexpr function before checking
whether it can ever produce a constant expression in the case where it has a
void return type and no return statements.

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