aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-01-11 16:03:45 +0000
committerAlexander Kornienko <alexfh@google.com>2013-01-11 16:03:45 +0000
commit276a209451b8724807f2741f49c90bf27fc280c7 (patch)
treecb88e7e37fc35def3560e4df3e31de30a475129d /lib/Format/UnwrappedLineParser.cpp
parent65bd4ac6ffbf6de30cd6f36735539ff8172a904a (diff)
clang-format: a bit nicer error message.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
-rw-r--r--lib/Format/UnwrappedLineParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp
index a6c5c165ff..f7332ee770 100644
--- a/lib/Format/UnwrappedLineParser.cpp
+++ b/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();