diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-23 23:17:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-23 23:17:07 +0000 |
commit | 28eb7e992b9a266abb300da25b6d3c1557cec361 (patch) | |
tree | 2f71d98d5aa3d90b0999645603c5a7fe89663f6c /lib/Parse/Parser.cpp | |
parent | 5f4a6829dc58cab2f76e2b98492859aa3b91e3f2 (diff) |
make the 'to match this' diagnostic a note.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index ae75266e04..4e27e718f8 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -71,7 +71,7 @@ SourceLocation Parser::MatchRHSPunctuation(tok::TokenKind RHSTok, case tok::greater: LHSName = "<"; DID = diag::err_expected_greater; break; } Diag(Tok, DID); - Diag(LHSLoc, diag::err_matching) << LHSName; + Diag(LHSLoc, diag::note_matching) << LHSName; SkipUntil(RHSTok); return R; } |