[clang] [HLSL] Change default linkage of HLSL functions and groupshared variables (v2) (PR #95331)
Xiang Li via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 11:05:16 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
----------------
python3kgae wrote:
dxc do get warning
Here's an example
https://godbolt.org/z/qPbvEzWzM
Will this change in clang?
https://github.com/llvm/llvm-project/pull/95331
More information about the cfe-commits
mailing list