summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Format/UnwrappedLineParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp
index a6c5c165ffd..f7332ee7707 100644
--- a/clang/lib/Format/UnwrappedLineParser.cpp
+++ b/clang/lib/Format/UnwrappedLineParser.cpp
@@ -152,7 +152,7 @@ bool UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
} else {
Diag.Report(FormatTok.Tok.getLocation(),
Diag.getCustomDiagID(clang::DiagnosticsEngine::Error,
- "Stray '}' found"));
+ "unexpected '}'"));
Error = true;
nextToken();
addUnwrappedLine();
OpenPOWER on IntegriCloud