]> granicus.if.org Git - clang/commitdiff
Change cxx0x to cxx11 in diagnostic name.
authorCraig Topper <craig.topper@gmail.com>
Sun, 14 Jul 2013 17:02:30 +0000 (17:02 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 14 Jul 2013 17:02:30 +0000 (17:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186286 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseExpr.cpp

index f9c7c4e3b45d59570b0af3aa460a334c254ae06a..0ff32d9ab31299e4274a4b1f716efafeb7f9ce6b 100644 (file)
@@ -389,7 +389,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) {
         // 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()));