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/ParseExpr.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/ParseExpr.cpp')
-rw-r--r-- | lib/Parse/ParseExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 21b3dac038..a379eeca2e 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -271,7 +271,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, unsigned MinPrec) { if (Tok.isNot(tok::colon)) { Diag(Tok, diag::err_expected_colon); - Diag(OpToken, diag::err_matching) << "?"; + Diag(OpToken, diag::note_matching) << "?"; Actions.DeleteExpr(LHS.Val); Actions.DeleteExpr(TernaryMiddle.Val); return ExprResult(true); |