[clang] [llvm] New calling convention preserve_none (PR #76868)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 16:11:49 PST 2024


================
@@ -2868,6 +2868,11 @@ def M68kRTD: DeclOrTypeAttr {
   let Documentation = [M68kRTDDocs];
 }
 
+def PreserveNone : DeclOrTypeAttr {
+  let Spellings = [Clang<"preserve_none">];
----------------
erichkeane wrote:

This should have a subjectlist set, since this is on functions, it should probably have a function subject.  Since it is target specific, it should ALSO be a target specific attribute.

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


More information about the cfe-commits mailing list