Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang | Richard Smith | 2020-02-19 | 1 | -9/+9 |
| | | | | | | | | | | | | | 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. (cherry picked from commit 24ad121582454e625bdad125c90d9ac0dae948c8) | ||||
* | [c++20] P1143R2: Add support for the C++20 'constinit' keyword. | Richard Smith | 2019-09-04 | 1 | -0/+2 |
| | | | | | | | | | | | | | This is mostly the same as the [[clang::require_constant_initialization]] attribute, but has a couple of additional syntactic and semantic restrictions. In passing, I added a warning for the attribute form being added after we have already seen the initialization of the variable (but before we see the definition); that case previously slipped between the cracks and the attribute was silently ignored. llvm-svn: 370972 | ||||
* | Enable coroutines under -std=c++2a. | Richard Smith | 2019-02-23 | 1 | -0/+4 |
| | | | | llvm-svn: 354736 | ||||
* | Add missing test for warning added in r310803. | Richard Smith | 2017-08-16 | 1 | -0/+9 |
llvm-svn: 310978 |