[clang] [clang] Add support for MSVC force inline attrs (PR #185282)
Trung Nguyen via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 06:04:55 PDT 2026
================
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -std=c++23 -emit-llvm %s -triple x86_64-pc-windows-msvc -o - | FileCheck %s
+
----------------
trungnt2910 wrote:
For the `[[msvc::forceinline_calls]]`, I agree, but for `[[msvc::forceinline]]`, as I mentioned, there are no attributes to check for at the call site.
The point of `[[msvc::forceinline]]` is for the call site to vanish no matter what.
https://github.com/llvm/llvm-project/pull/185282
More information about the cfe-commits
mailing list