llvm-project/clang/lib
Richard Smith 045b2270ce When evaluating a __builtin_constant_p conditional, always enter
constant-folding mode regardless of the original evaluation mode.

In order for this to be correct, we need to track whether we're checking
for a potential constant expression or checking for undefined behavior
separately from the evaluation mode enum, since we don't want to clobber
those states when entering constant-folding mode.

llvm-svn: 371557
2019-09-10 21:24:09 +00:00
..
ARCMigrate [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
AST When evaluating a __builtin_constant_p conditional, always enter 2019-09-10 21:24:09 +00:00
ASTMatchers [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Analysis [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
Basic [ARM] Add support for the s,j,x,N,O inline asm constraints 2019-09-05 15:17:25 +00:00
CodeGen Fix for PR43175: compiler crash when trying to emit noncapturable 2019-09-10 19:16:56 +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 Don't emit .gnu_pubnames when tuning for LLDB. 2019-09-10 15:53:18 +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 Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-10 06:25:13 +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 [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
Lex Introduce a DirectoryEntryRef that stores both a reference and an 2019-08-31 01:26:04 +00:00
Parse Diagnose _Atomic as a C11 extension. 2019-09-04 21:01:57 +00:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [OPENMP5.0]Allow teams directive outside of the target directives. 2019-09-10 20:19:58 +00:00
Serialization [Sema] Diagnose default-initialization, destruction, and copying of 2019-09-07 00:34:43 +00:00
StaticAnalyzer [analyzer] NFC: Simplify bug report equivalence classes to not be ilists. 2019-09-09 20:34:44 +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