Issue 90941
Summary clang does not support / recognize attribute `[[msvc::noinline]]`
Labels clang
Assignees
Reporter Febbe
    I am linking to glib-2.0, which defines a macro `#define G_NO_INLINE [[msvc::noinline]]`  `#if G_CXX_STD_CHECK_VERSION (20) && _MSC_VER >= 1927`.
But clang does not support this attribute. I am sure, clang supports `[[gnu::noinline]]`. Therefore, it would pretty easy to also support `[[msvc::noinline]]` we only need an alias to it.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to