]> granicus.if.org Git - clang/commit
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)
commit9be36ab27b874b404099650e0c29bc92f3c7662d
tree802a751c7a857e5785bfdc1c3e148375512ba71a
parent76398e5ad39ae719dcc650c7cddeb25379c02c34
DR1535: only potentially-evaluated typeid expressions are disallowed in constant
expressions, not *any* typeid on a polymorphic class type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166156 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/CodeGenCXX/typeid-cxx11.cpp
test/SemaCXX/constant-expression-cxx11.cpp