]> granicus.if.org Git - clang/commit
Correctly check for distructors when realizing vtordisps
authorWarren Hunt <whunt@google.com>
Mon, 14 Oct 2013 20:14:09 +0000 (20:14 +0000)
committerWarren Hunt <whunt@google.com>
Mon, 14 Oct 2013 20:14:09 +0000 (20:14 +0000)
commitd42217f7570e68d08bde1ff89960e1773b41749a
tree0944201468462eab9e7e29ccfffd3d50fe98b786
parente69cca48505098f1ca70b10f829b07526d6465bf
Correctly check for distructors when realizing vtordisps

This patch fixes the distructor test when checking for vtordisp requirements in
microsoft record layout.  A test case is also included.

Addresses:
http://llvm.org/bugs/show_bug.cgi?id=16406#c7

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-vtordisp.cpp