[PATCH] D124753: [HLSL] Set main as default entry.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 24 05:54:28 PDT 2022


Anastasia added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/HLSL.cpp:182
   }
+  // If not set entry, default is main.
+  if (!DAL->hasArg(options::OPT_hlsl_entrypoint)) {
----------------
-> `If no set entry` or `If entry is not set explicitly`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124753/new/

https://reviews.llvm.org/D124753



More information about the cfe-commits mailing list