summaryrefslogtreecommitdiff
path: root/test/CodeGen/builtin-cpu-supports.c
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-12-12 20:30:53 +0000
committerErich Keane <erich.keane@intel.com>2018-12-12 20:30:53 +0000
commit58419897ad2cb6c4a572a0a03705a462e3b07a08 (patch)
tree7ea07386fb7232f2b4ee3f3e76d96e4bed2a31c9 /test/CodeGen/builtin-cpu-supports.c
parent1c106b9cc9139bd49c1297cc9da4966b0c703cec (diff)
downloadclang-58419897ad2cb6c4a572a0a03705a462e3b07a08.tar.gz
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtin-cpu-supports.c')
0 files changed, 0 insertions, 0 deletions