]> granicus.if.org Git - clang/commit
Only objects are declared const by a constexpr specifier, per C++0x [dcl.constexpr]p9
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 20 Mar 2011 08:06:45 +0000 (08:06 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sun, 20 Mar 2011 08:06:45 +0000 (08:06 +0000)
commit148f1f7936afd718bac7be95089e77673e43f16f
tree22f5d2c0957ba688ddebf3dc105e56ca0609e662
parenteedd4670b2eb7e4d67d11b2f26ed1ad304b70596
Only objects are declared const by a constexpr specifier, per C++0x [dcl.constexpr]p9

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaType.cpp
test/SemaCXX/cxx0x-constexpr-const.cpp [new file with mode: 0644]