DR1535: only potentially-evaluated typeid expressions are disallowed in constant
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 17 Oct 2012 23:52:07 +0000 (23:52 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 17 Oct 2012 23:52:07 +0000 (23:52 +0000)
commit6f3d435c5a7e70c2470121474ae7c0a3f60fdc4f
tree303e84928b088df7b68222dea8572014e37d05ad
parent3ac8201ea41e9b894224f0f5d5b993ad44ed3adf
DR1535: only potentially-evaluated typeid expressions are disallowed in constant
expressions, not *any* typeid on a polymorphic class type.

llvm-svn: 166156
clang/lib/AST/ExprConstant.cpp
clang/test/CodeGenCXX/typeid-cxx11.cpp
clang/test/SemaCXX/constant-expression-cxx11.cpp