]> granicus.if.org Git - clang/commit
C++ constant expression handling: eagerly instantiate static const integral data
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 21 Dec 2011 00:25:33 +0000 (00:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 21 Dec 2011 00:25:33 +0000 (00:25 +0000)
commit3e9ea0b8cd7c4691d62e385245556be5fded58a7
tree8d3cdf104638d1f1f22142146b64b5141958b350
parent28441e6cee11fe6c2b3e13980f81203d14e73202
C++ constant expression handling: eagerly instantiate static const integral data
members of class templates so that their values can be used in ICEs. This
required reverting r105465, to get such instantiated members to be included in
serialized ASTs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147023 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/PCH/chain-cxx.cpp
test/SemaTemplate/instantiate-declref-ice.cpp