================
@@ -4402,8 +4403,12 @@ clang_parseTranslationUnit_Impl(CXIndex CIdx, const char 
*source_filename,
   Args->insert(Args->end(), command_line_args,
                command_line_args + num_command_line_args);
 
+  // Use the driver pass-through spelling for options not accepted by clang-cl.
+  bool IsCLMode = driver::IsClangCL(
----------------
zmodem wrote:

If it's just these two flags that are the problem, would it be a solution to 
enable them in clang-cl mode also? (by adding the `CLOption` flag in 
Options.td) 

https://github.com/llvm/llvm-project/pull/237563
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to