[clang] [clang] Add `__has_feature(swiftcc)` support (PR #85347)

Arnold Schwaighofer via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 15 06:36:05 PDT 2024


================
@@ -102,6 +102,9 @@ FEATURE(memory_sanitizer,
 FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread))
 FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
 FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
+FEATURE(swiftcc,
----------------
aschwaighofer wrote:

I think we should use `EXTENSION` instead of `FEATURE`.

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


More information about the cfe-commits mailing list