llvm-project/clang/lib
Richard Smith a6e8b685e1 [c++20] P1143R2: Add support for the C++20 'constinit' keyword.
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
2019-09-04 20:30:37 +00:00
..
ARCMigrate [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
AST [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
ASTMatchers [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Analysis [CFG] Fix CFG for statement-expressions in return values. 2019-08-29 20:37:28 +00:00
Basic [RISCV] Correct Logic around ilp32e macros 2019-09-03 08:47:58 +00:00
CodeGen [NewPM][Sancov] Make Sancov a Module Pass instead of 2 Passes 2019-09-04 20:30:29 +00:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format clang-format: [JS] handle `as const`. 2019-08-26 15:37:05 +00:00
Frontend [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
FrontendTool [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
Headers [PowerPC][Altivec] Fix constant argument for vec_dss 2019-09-04 14:01:47 +00:00
Index [Index] Added a ShouldSkipFunctionBody callback to libIndex, and refactored clients to use it instead of inventing their own solution 2019-08-29 11:47:34 +00:00
Lex Introduce a DirectoryEntryRef that stores both a reference and an 2019-08-31 01:26:04 +00:00
Parse [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [c++20] P1143R2: Add support for the C++20 'constinit' keyword. 2019-09-04 20:30:37 +00:00
Serialization ASTReader: Bypass overridden files when reading PCHs 2019-08-30 22:59:25 +00:00
StaticAnalyzer Unbreak the build after r370798 2019-09-03 18:24:56 +00:00
Tooling [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00