clang-format: a bit nicer error message.

llvm-svn: 172211
This commit is contained in:
Alexander Kornienko 2013-01-11 16:03:45 +00:00
parent f5fa4c8a77
commit 2cc2d60451
1 changed files with 1 additions and 1 deletions

View File

@ -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();