[all-commits] [llvm/llvm-project] a7438d: [clang] [ubsan] add __has_feature for UBSan checks...
Florian Mayer via All-commits
all-commits at lists.llvm.org
Fri Jul 11 17:39:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7438d6dfe0aa45f3c4f0e0aeb23934619c8702b
https://github.com/llvm/llvm-project/commit/a7438d6dfe0aa45f3c4f0e0aeb23934619c8702b
Author: Florian Mayer <fmayer at google.com>
Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths:
M clang/include/clang/Basic/Features.def
M clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
Log Message:
-----------
[clang] [ubsan] add __has_feature for UBSan checks (#148310)
Before, we could only condition code on whether *any* UBSan check is
enabled. Add separate features for each of them, now we can do e.g.
__has_feature(array_bounds_sanitizer).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list