[llvm-branch-commits] [clang] [clang] Add clang::nooutline Attribute (PR #163666)

Erich Keane via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 16 14:08:08 PDT 2025


================
@@ -2355,6 +2355,13 @@ def NoInline : DeclOrStmtAttr {
   let SimpleHandler = 1;
 }
 
+def NoOutline : DeclOrStmtAttr {
+  let Spellings = [Clang<"nooutline">];
+  let Subjects = SubjectList<[Function], ErrorDiag>;
----------------
erichkeane wrote:

Your examples all use prototyped functions, is there a reason this cant be used on a no-prototype function?  If so, this should reflect that (alternatively, write a codegen test to show its lack of importance).

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


More information about the llvm-branch-commits mailing list