[clang] [llvm] New calling convention preserve_none (PR #76868)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 06:05:19 PST 2024
================
@@ -2868,6 +2868,11 @@ def M68kRTD: DeclOrTypeAttr {
let Documentation = [M68kRTDDocs];
}
+def PreserveNone : DeclOrTypeAttr {
+ let Spellings = [Clang<"preserve_none">];
----------------
erichkeane wrote:
The second example there is a function pointer, not a function you're trying to apply it to. If you want it to work on Function Pointers as well, you need to use `FunctionLike`.
https://github.com/llvm/llvm-project/pull/76868
More information about the cfe-commits
mailing list