mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
Fix a -Wparentheses warning in ASTDiagnostic.cpp.
llvm-svn: 257871
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user