Fix a -Wparentheses warning in ASTDiagnostic.cpp.

llvm-svn: 257871
This commit is contained in:
James Y Knight 2016-01-15 05:57:41 +00:00
parent 2331c8bdd3
commit 925d60ee1e
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ class TemplateDiff {
/// SetDefault - Sets FromDefault and ToDefault flags of the current node.
void SetDefault(bool FromDefault, bool ToDefault) {
assert(!FromDefault || !ToDefault && "Both arguments cannot be default.");
assert((!FromDefault || !ToDefault) && "Both arguments cannot be default.");
FlatTree[CurrentNode].FromArgInfo.IsDefault = FromDefault;
FlatTree[CurrentNode].ToArgInfo.IsDefault = ToDefault;
}