[clang] [HLSL] Run availability diagnostic on exported functions (PR #97352)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 18:33:30 PDT 2024
================
@@ -129,6 +129,55 @@ class MyClass
}
};
+// Exported function without body - not used
+export void exportedFunctionUnused(float f);
----------------
hekota wrote:
Also adding test for this here: https://github.com/llvm/llvm-project/pull/97370
https://github.com/llvm/llvm-project/pull/97352
More information about the cfe-commits
mailing list