Change cxx0x to cxx11 in diagnostic name.

llvm-svn: 186286
This commit is contained in:
Craig Topper 2013-07-14 17:02:30 +00:00
parent d25fb725cf
commit 3195e25399
1 changed files with 1 additions and 1 deletions

View 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()));