summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-14 06:47:02 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-14 06:47:02 +0000
commit1a9ca774b687ebae352d8795e5a3603605408580 (patch)
tree154d5bdc82d2ba738b5a04f48a871878afa19c01 /clang/tools/c-index-test
parent02ddd7f529fa7f667365af9a6e80acb7d69a6635 (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud