diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-05-14 06:47:02 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-05-14 06:47:02 +0000 |
commit | 1a9ca774b687ebae352d8795e5a3603605408580 (patch) | |
tree | 154d5bdc82d2ba738b5a04f48a871878afa19c01 /clang/tools/c-index-test/c-index-test.c | |
parent | 02ddd7f529fa7f667365af9a6e80acb7d69a6635 (diff) | |
download | bcm5719-llvm-1a9ca774b687ebae352d8795e5a3603605408580.tar.gz bcm5719-llvm-1a9ca774b687ebae352d8795e5a3603605408580.zip |
TableGen: Avoid undefined behaviour by doing this shift in int64
Found by ubsan. This was taking a bool and left shifting by 32 - the
result is 64 bit, so we should really do the math in a type it fits
in.
llvm-svn: 237345
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions