steveire added inline comments.

================
Comment at: lib/Frontend/CompilerInvocation.cpp:792
   Opts.MainFileName = Args.getLastArgValue(OPT_main_file_name);
+  if (Args.hasArg(OPT_echo_main_file_name))
+    llvm::outs() << Opts.MainFileName << "\n";
----------------
I'll have to keep a patch around anyway for myself locally to remove this 
condition. But maybe someone else will benefit from this.

What do you think about changing CMake to so that this is passed by default 
when using Clang-CL?



https://reviews.llvm.org/D52773



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

Reply via email to