aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-09 09:47:15 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-09 09:47:15 +0200
commit8f66f25f52f9b4089d216a33283acdb87ea3c250 (patch)
tree3ee29fd60d5fd7c90a8570d3bb5e4b9af9f41700 /clang/lib/Frontend/CompilerInvocation.cpp
parent1d3b7370c466eba4bf22dce4a51f885f76698053 (diff)
downloadllvm-8f66f25f52f9b4089d216a33283acdb87ea3c250.zip
llvm-8f66f25f52f9b4089d216a33283acdb87ea3c250.tar.gz
llvm-8f66f25f52f9b4089d216a33283acdb87ea3c250.tar.bz2
[RDA] Avoid negative shift UB
Avoid "left shift of negative value -1" ubsan errors by casting to uintptr_t before performing the shift, rather than after.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions