diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-08-13 22:26:53 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-08-13 22:26:53 +0000 |
| commit | cbaaa295f033714ccbf4e5b54cc447f50d29011c (patch) | |
| tree | f34ee0c7803ee499344e14168194928d9d95fbef /clang/test/SemaCXX/warn-c++1z-extensions.cpp | |
| parent | 6c74e32139ff7a9716d7ca0b2e57e0e8c1c58862 (diff) | |
| download | bcm5719-llvm-cbaaa295f033714ccbf4e5b54cc447f50d29011c.tar.gz bcm5719-llvm-cbaaa295f033714ccbf4e5b54cc447f50d29011c.zip | |
Replace remaining user-visible mentions of C++1z with C++17.
llvm-svn: 310804
Diffstat (limited to 'clang/test/SemaCXX/warn-c++1z-extensions.cpp')
| -rw-r--r-- | clang/test/SemaCXX/warn-c++1z-extensions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/warn-c++1z-extensions.cpp b/clang/test/SemaCXX/warn-c++1z-extensions.cpp index 9b5e1c205cf..a0d44a34ffe 100644 --- a/clang/test/SemaCXX/warn-c++1z-extensions.cpp +++ b/clang/test/SemaCXX/warn-c++1z-extensions.cpp @@ -1,8 +1,8 @@ // RUN: %clang_cc1 -fsyntax-only -std=c++14 -verify %s void f() { - if (bool b = true; b) {} // expected-warning {{'if' initialization statements are a C++1z extension}} - switch (int n = 5; n) { // expected-warning {{'switch' initialization statements are a C++1z extension}} + if (bool b = true; b) {} // expected-warning {{'if' initialization statements are a C++17 extension}} + switch (int n = 5; n) { // expected-warning {{'switch' initialization statements are a C++17 extension}} case 5: break; } } |

