Fix a -Wparentheses warning in ASTDiagnostic.cpp.
llvm-svn: 257871
This commit is contained in:
parent
2331c8bdd3
commit
925d60ee1e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue