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/inline.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/inline.cpp')
| -rw-r--r-- | clang/test/SemaCXX/inline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/inline.cpp b/clang/test/SemaCXX/inline.cpp index b20bc18d0a3..ba29521ce50 100644 --- a/clang/test/SemaCXX/inline.cpp +++ b/clang/test/SemaCXX/inline.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fsyntax-only -verify -std=c++14 %s -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z %s -Wc++98-c++11-c++14-compat +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++17 %s -Wc++98-c++11-c++14-compat // Check that we don't allow illegal uses of inline // (checking C++-only constructs here) @@ -12,7 +12,7 @@ void localVar() { // Check that we warn appropriately. #if __cplusplus <= 201402L -inline int a; // expected-warning{{inline variables are a C++1z extension}} +inline int a; // expected-warning{{inline variables are a C++17 extension}} #else -inline int a; // expected-warning{{inline variables are incompatible with C++ standards before C++1z}} +inline int a; // expected-warning{{inline variables are incompatible with C++ standards before C++17}} #endif |

