llvm-project/clang/test/CXX/dcl.dcl/dcl.attr
Richard Smith 24ad121582 Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang
user interface and documentation, and update __cplusplus for C++20.

WG21 considers the C++20 standard to be finished (even though it still
has some more steps to pass through in the ISO process).

The old flag names are accepted for compatibility, as usual, and we
still have lots of references to C++2a in comments and identifiers;
those can be cleaned up separately.
2020-02-18 16:16:37 -08:00
..
dcl.align Add a triple to this test so it passes for targets where alignof(double) 2019-01-24 20:52:56 +00:00
dcl.attr.depend Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
dcl.attr.deprecated
dcl.attr.fallthrough This test case was missing -fsyntax-only, so I've added it. NFC to the actual test contents, just how the test is executed. 2017-10-17 20:49:30 +00:00
dcl.attr.grammar
dcl.attr.nodiscard Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
dcl.attr.noreturn
dcl.attr.unused Do not warn on switches over enums that do not use [[maybe_unused]] enumerators 2019-05-02 16:30:49 +00:00