[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:09 PDT 2025


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

```suggestion
  let Spellings = [Clang<"no_outline">];
```

perhaps?  Makes it... somewhat consistent with the `force_inline`/etc type attributes, and makes it a better mental 'parse'.

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


More information about the llvm-branch-commits mailing list