[clang] [HLSL] Treat `main` as any other function (PR #110546)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 14:10:02 PDT 2024


llvm-beanz wrote:

> There is still logic elsewhere that sets the default entry point to "main", right? This looks right to me.

Yes, and we apply the HLSLShader attribute to main and key generating the entry off that in clangCodeGen.

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


More information about the cfe-commits mailing list