]> granicus.if.org Git - clang/commit
PR19415: Converting 'constexpr' to 'const' in a non-static data member can fail
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 14 Apr 2014 21:00:40 +0000 (21:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 14 Apr 2014 21:00:40 +0000 (21:00 +0000)
commit6b4d174cd68a672fba3e30a51e65caf42fc16e0e
treef73436892f502fad2bba96af053f6fde77b1227f
parentdff60442ebc763839c28c94c93d2ae4e4de3fad6
PR19415: Converting 'constexpr' to 'const' in a non-static data member can fail
if the member is already 'const'. Don't assert in that case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206205 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/FixIt/fixit-cxx0x.cpp