[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:26:33 PDT 2024


================
@@ -129,6 +129,55 @@ class MyClass
   }
 };
 
+// Exported function without body - not used
+export void exportedFunctionUnused(float f);
----------------
hekota wrote:

Done.

https://github.com/llvm/llvm-project/pull/97352


More information about the cfe-commits mailing list