forked from OSchip/llvm-project
clang-format: a bit nicer error message.
llvm-svn: 172211
This commit is contained in:
parent
f5fa4c8a77
commit
2cc2d60451
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue