Silence -Wlogical-op-parentheses warning NFC

llvm-svn: 300324
This commit is contained in:
Nirav Dave 2017-04-14 14:36:45 +00:00
parent 75aa1a9a49
commit 21d5d4fbbf
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ void ForwardingReferenceOverloadCheck::check(
(OtherCtor->isCopyConstructor() ? EnabledCopy : EnabledMove) = true;
}
}
bool Copy = !EnabledMove && !DisabledMove && !DisabledCopy || EnabledCopy;
bool Copy = (!EnabledMove && !DisabledMove && !DisabledCopy) || EnabledCopy;
bool Move = !DisabledMove || EnabledMove;
if (!Copy && !Move)
return;