From: Alexander Kornienko Date: Fri, 11 Jan 2013 16:03:45 +0000 (+0000) Subject: clang-format: a bit nicer error message. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=276a209451b8724807f2741f49c90bf27fc280c7;p=clang clang-format: a bit nicer error message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172211 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();