summaryrefslogtreecommitdiffstats
path: root/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r--lib/Parse/ParseDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index e81e0863b5..f63fd56a89 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -3891,7 +3891,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
continue;
}
- assert(!isAlreadyConsumed || RangeEnd != SourceLocation() &&
+ assert((!isAlreadyConsumed || RangeEnd != SourceLocation()) &&
"both or neither of isAlreadyConsumed and "
"RangeEnd needs to be set");
DS.SetRangeEnd(isAlreadyConsumed ? RangeEnd : Tok.getLocation());