[clang] [HLSL] Change default linkage of HLSL functions and `groupshared` variables (PR #93336)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 17 12:04:40 PDT 2024


================
@@ -108,3 +108,16 @@ behavior between Clang and DXC. Some examples include:
   diagnostic notifying the user of the conversion rather than silently altering
   precision relative to the other overloads (as FXC does) or generating code
   that will fail validation (as DXC does).
+
+Correctness improvements (bug fixes)
+====================================
+
+Entry point functions & ``static`` keyword
+------------------------------------------
+Marking a shader entry point function ``static`` will result in an error.
----------------
damyanp wrote:

Cool.  Is it significant that these are warnings, while the rst file says errors?

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


More information about the cfe-commits mailing list