summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLambda.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-08-13 23:37:29 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-08-13 23:37:29 +0000
commitb115e5dda2020bcba2730838e92c100fe75dd1e3 (patch)
tree3fcebb44ea3f751ef20fbc923cd94f36766d5da1 /clang/lib/Sema/SemaLambda.cpp
parentcbaaa295f033714ccbf4e5b54cc447f50d29011c (diff)
downloadbcm5719-llvm-b115e5dda2020bcba2730838e92c100fe75dd1e3.tar.gz
bcm5719-llvm-b115e5dda2020bcba2730838e92c100fe75dd1e3.zip
Rename cxx1z -> cxx17 across all diagnostic IDs.
llvm-svn: 310805
Diffstat (limited to 'clang/lib/Sema/SemaLambda.cpp')
-rw-r--r--clang/lib/Sema/SemaLambda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLambda.cpp b/clang/lib/Sema/SemaLambda.cpp
index 46f2ba37600..97575587c33 100644
--- a/clang/lib/Sema/SemaLambda.cpp
+++ b/clang/lib/Sema/SemaLambda.cpp
@@ -934,7 +934,7 @@ void Sema::ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro,
if (C->Kind == LCK_This || C->Kind == LCK_StarThis) {
if (C->Kind == LCK_StarThis)
Diag(C->Loc, !getLangOpts().CPlusPlus1z
- ? diag::ext_star_this_lambda_capture_cxx1z
+ ? diag::ext_star_this_lambda_capture_cxx17
: diag::warn_cxx14_compat_star_this_lambda_capture);
// C++11 [expr.prim.lambda]p8:
OpenPOWER on IntegriCloud