klimek accepted this revision. klimek added a comment. This revision is now accepted and ready to land.
LG ================ Comment at: include/clang/Tooling/Tooling.h:437 @@ +436,3 @@ +/// +/// \note This will not set \c CommandLine[0] to \c InvokedAs. +void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, ---------------- Add that for tools, CommandLine[0] will need to be a tool path relatively to which the builtin headers can be found. http://reviews.llvm.org/D13318 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits