[cfe-commits] r172211 - /cfe/trunk/lib/Format/UnwrappedLineParser.cpp
Alexander Kornienko
alexfh at google.com
Fri Jan 11 08:03:46 PST 2013
Author: alexfh
Date: Fri Jan 11 10:03:45 2013
New Revision: 172211
URL: http://llvm.org/viewvc/llvm-project?rev=172211&view=rev
Log:
clang-format: a bit nicer error message.
Modified:
cfe/trunk/lib/Format/UnwrappedLineParser.cpp
Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.cpp?rev=172211&r1=172210&r2=172211&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.cpp Fri Jan 11 10:03:45 2013
@@ -152,7 +152,7 @@
} else {
Diag.Report(FormatTok.Tok.getLocation(),
Diag.getCustomDiagID(clang::DiagnosticsEngine::Error,
- "Stray '}' found"));
+ "unexpected '}'"));
Error = true;
nextToken();
addUnwrappedLine();
More information about the cfe-commits
mailing list