r186286 - Change cxx0x to cxx11 in diagnostic name.

Craig Topper craig.topper at gmail.com
Sun Jul 14 10:02:30 PDT 2013


Author: ctopper
Date: Sun Jul 14 12:02:30 2013
New Revision: 186286

URL: http://llvm.org/viewvc/llvm-project?rev=186286&view=rev
Log:
Change cxx0x to cxx11 in diagnostic name.

Modified:
    cfe/trunk/lib/Parse/ParseExpr.cpp

Modified: cfe/trunk/lib/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExpr.cpp?rev=186286&r1=186285&r2=186286&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExpr.cpp Sun Jul 14 12:02:30 2013
@@ -389,7 +389,7 @@ Parser::ParseRHSOfBinaryExpression(ExprR
         // parentheses so that the code remains well-formed in C++0x.
         if (!GreaterThanIsOperator && OpToken.is(tok::greatergreater))
           SuggestParentheses(OpToken.getLocation(),
-                             diag::warn_cxx0x_right_shift_in_template_arg,
+                             diag::warn_cxx11_right_shift_in_template_arg,
                          SourceRange(Actions.getExprRange(LHS.get()).getBegin(),
                                      Actions.getExprRange(RHS.get()).getEnd()));
 





More information about the cfe-commits mailing list