llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.63k stars 11.83k forks source link

Correct docs to say UBSan `objc-cast` is not part of `undefined` group #54880

Open seanm opened 2 years ago

seanm commented 2 years ago

clang/docs/UndefinedBehaviorSanitizer.rst says:

"-fsanitize=undefined: All of the checks listed above other than float-divide-by-zero, unsigned-integer-overflow, implicit-conversion, local-bounds and the nullability-* group of checks."

I'm pretty sure objc-cast should be in that list and was just forgotten in https://reviews.llvm.org/D71491.

seanm commented 2 years ago

@vedantk this may be up your alley...

JohnTitor commented 2 years ago

Submitted a fix: https://reviews.llvm.org/D127407

seanm commented 2 years ago

lgtm. thanks.