[clang] [Clang] Add support for [[msvc::noinline]] attribute. (PR #91720)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 17 07:47:48 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">,
----------------
erichkeane wrote:
We should probably have a different name for this, since it is no longer accurate. Perhaps `isStmtNoInline`
https://github.com/llvm/llvm-project/pull/91720
More information about the cfe-commits
mailing list