diff options
author | Chris Kennelly <ckennelly@google.com> | 2019-01-11 17:09:22 +0000 |
---|---|---|
committer | Chris Kennelly <ckennelly@google.com> | 2019-01-11 17:09:22 +0000 |
commit | 14f508aa0b57ceaa38543ccf609ba18867c5fa33 (patch) | |
tree | 2718356bb8982ce88d7ced8d11c02355816fdfce /test/Lexer | |
parent | 074a530bf75088af4fa8482a9a8795949051b94b (diff) | |
download | clang-14f508aa0b57ceaa38543ccf609ba18867c5fa33.tar.gz |
Implementation Feature Test Macros for P0722R3
Summary:
P1353R0, adopted in San Diego, specified an implementation feature test macro for destroying delete (P0722R3).
The implementation of the feature (https://reviews.llvm.org/rL315662) is not guarded behind a flag, so the macro is not conditional on language version.
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D55741
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r-- | test/Lexer/cxx-features.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Lexer/cxx-features.cpp b/test/Lexer/cxx-features.cpp index e4fea0b5bb..09b82b7c47 100644 --- a/test/Lexer/cxx-features.cpp +++ b/test/Lexer/cxx-features.cpp @@ -34,6 +34,10 @@ #error "wrong value for __cpp_char8_t" #endif +#if check(impl_destroying_delete, 201806, 201806, 201806, 201806, 201806) +#error "wrong value for __cpp_impl_destroying_delete" +#endif + // --- C++17 features --- #if check(hex_float, 0, 0, 0, 201603, 201603) |