[clang] [clang] Add noipa attribute (PR #207502)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 10 05:11:51 PDT 2026


================
@@ -2420,6 +2420,13 @@ def NoOutline : DeclOrStmtAttr {
   let SimpleHandler = true;
 }
 
+def NoIPA : InheritableAttr {
+  let Spellings = [GCC<"noipa">];
+  let Subjects = SubjectList<[Function]>;
----------------
AaronBallman wrote:

Does this attribute make sense for things like Objective-C methods? Those are awfully function-like but I don't know if we do IPA on them or not.

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


More information about the cfe-commits mailing list