]> granicus.if.org Git - clang/commit
Teach the constant expr evaluator about derived-to-base casts when no virtual bases...
authorAnders Carlsson <andersca@mac.com>
Sun, 31 Oct 2010 20:41:46 +0000 (20:41 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 31 Oct 2010 20:41:46 +0000 (20:41 +0000)
commit5c5a764fcd256df6f6cfbce5cdd2a2dfb2c45e95
tree83a012face3ac7a9c9e9d6a6c0dfce46c65e8fe7
parent739830d278b0a174edc59edcfedaecec53d36e3f
Teach the constant expr evaluator about derived-to-base casts when no virtual bases are involved. Fixes PR5974.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117868 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/RecordLayout.h
lib/AST/ExprConstant.cpp
test/CodeGenCXX/global-init.cpp