[PATCH] clang-cl: implement custom search for cl.exe in /fallback mode

Reid Kleckner rnk at google.com
Fri Sep 20 10:40:22 PDT 2013


  LGTM


================
Comment at: lib/Driver/Tools.cpp:6677
@@ +6676,3 @@
+
+  while (Path != PathEnd) {
+    const char *Sep = std::find(Path, PathEnd, SepChar);
----------------
I think the easiest way to write this is probably with llvm::SplitString() from llvm/ADT/StringExtras.h.


http://llvm-reviews.chandlerc.com/D1731



More information about the cfe-commits mailing list