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

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 14:32:58 PDT 2024


================
@@ -967,6 +967,10 @@ static void checkUndefinedButUsed(Sema &S) {
                            Func->getIdentifier()->isMangledOpenMPVariantName();
         }
       }
+      // Do not warn on undefined internal functions in HLSL, they will get
----------------
hekota wrote:

Good catch! I will bring the warning back and modify tests that hit it.

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


More information about the cfe-commits mailing list