C++1y is now C++14!
Changes diagnostic options, language standard options, diagnostic identifiers, diagnostic wording to use c++14 instead of c++1y. It also modifies related test cases to use the updated diagnostic wording. llvm-svn: 215982
This commit is contained in:
@@ -561,7 +561,7 @@ Parser::ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) {
|
||||
if (Tok.is(tok::kw_typename)) {
|
||||
Diag(Tok.getLocation(),
|
||||
getLangOpts().CPlusPlus1z
|
||||
? diag::warn_cxx1y_compat_template_template_param_typename
|
||||
? diag::warn_cxx14_compat_template_template_param_typename
|
||||
: diag::ext_template_template_param_typename)
|
||||
<< (!getLangOpts().CPlusPlus1z
|
||||
? FixItHint::CreateReplacement(Tok.getLocation(), "class")
|
||||
|
||||
Reference in New Issue
Block a user