Fix the clang -Werror build after r198818

llvm-svn: 198837
This commit is contained in:
David Blaikie 2014-01-09 02:34:06 +00:00
parent d48cdbf0c3
commit 461f1eaaa1
1 changed files with 1 additions and 1 deletions

View File

@ -2490,7 +2490,7 @@ void MicrosoftRecordLayoutBuilder::injectVFPtr(const CXXRecordDecl *RD) {
}
void MicrosoftRecordLayoutBuilder::injectVPtrs(const CXXRecordDecl *RD) {
if (!(HasOwnVFPtr || HasVBPtr && !SharedVBPtrBase))
if (!(HasOwnVFPtr || (HasVBPtr && !SharedVBPtrBase)))
return;
if (!Is64BitMode || RequiredAlignment <= CharUnits::fromQuantity(8)) {
// Note that the VBPtr is injected first. It depends on the alignment of