<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 28, 2015 at 10:25 AM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>Well, libTooling does go through the clang::driver::Driver. The problem is that if we need the binary name to follow a certain pattern, the tool would need to know that... It's certainly doable</div></div></div></blockquote><div><br></div><div>We don't need that. We can thread through --driver-mode=gcc/cl to get the desired behavior.</div><div><br></div><div>Here are some other potential pitfalls for making this code work:</div><div>1. The builtin argument adjusters won't work, clang-cl doesn't recognize -fsyntax-only or use -o for output</div><div>2. The json file will need to capture the %INCLUDE% environment variable, as this is how clang-cl finds standard headers (<vector>, <stdio.h>)</div></div></div></div>