]> granicus.if.org Git - clang/commit
Fix PointerExprEvaluator::VisitCastExpr so it doesn't misfold C++ casts which
authorEli Friedman <eli.friedman@gmail.com>
Sun, 27 Dec 2009 05:43:15 +0000 (05:43 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sun, 27 Dec 2009 05:43:15 +0000 (05:43 +0000)
commit09a8a0e6ec1252cad52666e9dbb21002b9c80f38
tree91edb53662ef6960712b0bae5a23cab0388de2b0
parenta6f98fb644c4e37a880c497ad999a36c7b62e934
Fix PointerExprEvaluator::VisitCastExpr so it doesn't misfold C++ casts which
it doesn't know how to fold, like derived-to-base casts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92173 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/CodeGenCXX/const-base-cast.cpp [new file with mode: 0644]