[clang] [clang] Add __has_feature(swiftcc) that checks whether the target supports the Swift calling convention (PR #72159)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 14 07:03:51 PST 2023
================
@@ -99,6 +99,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,
----------------
AaronBallman wrote:
The changes also need to come with a test and a release note.
https://github.com/llvm/llvm-project/pull/72159
More information about the cfe-commits
mailing list