diff options
| author | Erich Keane <erich.keane@intel.com> | 2018-12-12 20:30:53 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2018-12-12 20:30:53 +0000 |
| commit | 8c94f07f54519b6c1844fc911d78b9cc7d7abd79 (patch) | |
| tree | 97d2d6dd92c50a87b7cebf96863125b0c4809f26 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | c22e62d9a7fbaca8ad17071159e70aae7147ee08 (diff) | |
| download | bcm5719-llvm-8c94f07f54519b6c1844fc911d78b9cc7d7abd79.tar.gz bcm5719-llvm-8c94f07f54519b6c1844fc911d78b9cc7d7abd79.zip | |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions

