From 276a209451b8724807f2741f49c90bf27fc280c7 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Fri, 11 Jan 2013 16:03:45 +0000 Subject: [PATCH] clang-format: a bit nicer error message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172211 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/UnwrappedLineParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.40.0