[clang] [Clang] add wraps and no_wraps attributes (PR #115094)

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 18 15:03:03 PST 2024


JustinStitt wrote:

@vitalybuka 
> Would it make sense to support attributes like `__attribute__((no_sanitize("-undefined")))` ? Seems like better representation of the fact that we want to undo sanitizer suppression.

I am working on the PR for supporting `__attribute__((no_sanitize()))` for types. Should the opposite of `no_sanitize` be `sanitizeable`? I agree that `sanitize` is no good as it suggests it will enable sanitization, not permit it.

Once I have that PR up can compare it to this PR to find the best way forward.



https://github.com/llvm/llvm-project/pull/115094


More information about the cfe-commits mailing list