[clang] [HLSL] (DRAFT) Another way to implement #92071: [HLSL] Default linkage of HLSL function should be internal (PR #95331)

Greg Roth via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 25 13:02:58 PDT 2024


================
@@ -12363,6 +12363,11 @@ bool ASTContext::DeclMustBeEmitted(const Decl *D) {
   if (D->hasAttr<AliasAttr>() || D->hasAttr<UsedAttr>())
     return true;
 
+  // HLSL entry functiona are required.
----------------
pow2clk wrote:

```suggestion
  // HLSL entry functions are required.
```
typo

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


More information about the cfe-commits mailing list