[PATCH] D142867: [Clang] Add machinery to catch overflow in unary minus outside of a constant expression context
Hans Wennborg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 3 10:56:30 PST 2023
hans added a comment.
Amusingly this fired on some code that used negation with the intention of getting fewer warnings: https://github.com/KhronosGroup/glslang/commit/866f67140ed98865350b53312bba1b654b59f937 :-)
Fixed in https://github.com/KhronosGroup/glslang/commit/7341a21b345e7aea1d2791db0f2d36866c434c03
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142867/new/
https://reviews.llvm.org/D142867
More information about the cfe-commits
mailing list