MaskRay added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/HLSL.cpp:194
+    const StringRef DefaultEntry = "main";
+    DAL->AddSeparateArg(nullptr, Opts.getOption(options::OPT_hlsl_entrypoint),
+                        DefaultEntry);
----------------
Instead of letting Driver pass a default OPT_hlsl_entrypoint to CC1, you can 
let CC1 have a default OPT_hlsl_entrypoint.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124753

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to