[clang] [Clang] Add support for [[msvc::noinline]] attribute. (PR #91720)
Xu Zhang via cfe-commits
cfe-commits at lists.llvm.org
Sun May 19 02:07:30 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:
`[[msvc::noinline]]` is just an alias of `[[clang::noinline]]`, and maybe we don't really need UT for it, so I just deleted the redundant test files. What do you think?
https://github.com/llvm/llvm-project/pull/91720
More information about the cfe-commits
mailing list