================ @@ -303,6 +303,7 @@ FEATURE(is_trivially_assignable, LangOpts.CPlusPlus) FEATURE(is_trivially_constructible, LangOpts.CPlusPlus) FEATURE(is_trivially_copyable, LangOpts.CPlusPlus) FEATURE(is_union, LangOpts.CPlusPlus) +FEATURE(cfi, LangOpts.Sanitize.hasOneOf(SanitizerKind::CFI)) ---------------- PiJoules wrote:
I think we'll also want to add `|| LangOpts.Sanitize.hasOneOf(SanitizerKind::LCFI)` into this check. https://github.com/llvm/llvm-project/pull/151348 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits