aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-04-26 00:48:28 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-04-26 00:48:28 +0000
commit9547aabb26148f4eb5cfa1c5ccba0fe4ab7bf4fa (patch)
tree5eff020f30c62bab80fac97a81053c87f874d14c /clang/lib/CodeGen/BackendUtil.cpp
parentd91fb8c367186cac1b55be88314385df1959ef10 (diff)
downloadllvm-9547aabb26148f4eb5cfa1c5ccba0fe4ab7bf4fa.zip
llvm-9547aabb26148f4eb5cfa1c5ccba0fe4ab7bf4fa.tar.gz
llvm-9547aabb26148f4eb5cfa1c5ccba0fe4ab7bf4fa.tar.bz2
[Support] Avoid UB in sys::fs::perms::operator~. NFC.
This was exposed in r297945 and r301220: the intermediate complement is a 32-bit value, and casting it to 'perms' invokes UB. llvm-svn: 301373
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions