llvm-project/clang/lib
Erich Keane 8c94f07f54 Teach __builtin_unpredictable to work through implicit casts.
The __builtin_unpredictable implementation is confused by any implicit
casts, which happen in C++.  This patch strips those off so that
if/switch statements now work with it in C++.

Change-Id: I73c3bf4f1775cd906703880944f4fcdc29fffb0a
llvm-svn: 348969
2018-12-12 20:30:53 +00:00
..
ARCMigrate Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
AST [ExprConstant] Improve memchr/memcmp for type mismatch and multibyte element types 2018-12-12 16:53:43 +00:00
ASTMatchers Revert rL347462 "[ASTMatchers] Add hasSideEffect() matcher." 2018-11-22 14:26:33 +00:00
Analysis Change CallGraph print to show the fully qualified name 2018-12-12 18:11:36 +00:00
Basic Basic: make `int_least64_t` and `int_fast64_t` match on Darwin 2018-12-12 17:05:20 +00:00
CodeGen Teach __builtin_unpredictable to work through implicit casts. 2018-12-12 20:30:53 +00:00
CrossTU [CTU] Add triple/lang mismatch handling 2018-12-07 16:32:43 +00:00
Driver [Driver] Add support for -fembed-bitcode for assembly file 2018-12-12 17:30:16 +00:00
Edit [Fixed Point Arithmetic] Fixed Point to Boolean Cast 2018-10-23 17:55:35 +00:00
Format [clang-format] Do not treat asm clobber [ as ObjCExpr, refined 2018-11-22 14:49:55 +00:00
Frontend Move PCHContainerOperations from Frontend to Serialization 2018-12-12 02:53:59 +00:00
FrontendTool PTH-- Remove feature entirely- 2018-12-04 14:34:09 +00:00
Headers [X86] Remove the addcarry builtins. Leaving only the addcarryx builtins since that matches gcc. 2018-12-10 06:07:59 +00:00
Index Revert "[OpenCL] Add generic AS to 'this' pointer" 2018-12-12 15:06:16 +00:00
Lex Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
Parse Revert "[OpenCL] Add generic AS to 'this' pointer" 2018-12-12 15:06:16 +00:00
Rewrite Misc typos fixes in ./lib folder 2018-12-10 12:37:46 +00:00
Sema Remove TODO leftover from my devleopment branch 2018-12-12 15:13:00 +00:00
Serialization Revert "[OpenCL] Add generic AS to 'this' pointer" 2018-12-12 15:06:16 +00:00
StaticAnalyzer [analyzer][CStringChecker] evaluate explicit_bzero 2018-12-11 18:57:07 +00:00
Tooling Add explicit dependency on clangSerialization for a bunch of components to fix -DBUILD_SHARED_LIBS=on build 2018-12-12 08:02:18 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00