[clang] [Clang] Add support for [[msvc::noinline]] attribute. (PR #91720)

Xu Zhang via cfe-commits cfe-commits at lists.llvm.org
Fri May 17 08:13:37 PDT 2024


================
@@ -1997,9 +1997,12 @@ def Convergent : InheritableAttr {
 def NoInline : DeclOrStmtAttr {
   let Spellings = [CustomKeyword<"__noinline__">, GCC<"noinline">,
                    CXX11<"clang", "noinline">, C23<"clang", "noinline">,
+                   CXX11<"msvc", "noinline">, C23<"msvc", "noinline">,
                    Declspec<"noinline">];
   let Accessors = [Accessor<"isClangNoInline", [CXX11<"clang", "noinline">,
----------------
simonzgx wrote:

okay, got it.

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


More information about the cfe-commits mailing list