aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-08-31 18:56:24 +0000
committerGreg Clayton <gclayton@apple.com>2012-08-31 18:56:24 +0000
commit7036425c59000b63662b70dab35f691eb8f10a40 (patch)
treeb4edd51d4086d88f49759f4fb5605371d92933ab /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentdc86f94f623b285b61192cf1a1ca8daa87d28422 (diff)
downloadllvm-7036425c59000b63662b70dab35f691eb8f10a40.zip
llvm-7036425c59000b63662b70dab35f691eb8f10a40.tar.gz
llvm-7036425c59000b63662b70dab35f691eb8f10a40.tar.bz2
<rdar://problem/12202862>
Added a fix for incorrect dynamic typing. Before when asking if a C++ class could be dynamic, we would answer yes for incomplete C++ classes. This turned out to have issues where if a class was not virtual, yet had its first ivar be an instance of a virtual class, we would incorrectly say that a class was virtual and we would downcast it to be a pointer to the first ivar. We now ask the class to complete itself prior to answering the question. We need to test the effects on memory of this change prior to submission. It is the safest and best fix, but it does have a potential downside of higher memory consumption. llvm-svn: 163014
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions