This seems a little odd, could you explain in a bit more detail? Me not understanding I imagine. :)
-eric On Wed, Sep 30, 2015, 7:48 PM Luke Zarko <za...@google.com> wrote: > zarko created this revision. > zarko added reviewers: rnk, echristo, klimek. > zarko added a subscriber: cfe-commits. > Herald added subscribers: srhines, danalbert, tberghammer, klimek. > > This diff adds `addTargetAndModeForProgramName`, a utility function that > will add appropriate `-target foo` and `--driver-mode=g++` tokens to a > command line for driver invocations of the form `a/b/foo-g++`. It is > intended to support tooling: for example, should a compilation database > record some invocation of `foo-g++` without these implicit flags, a Clang > tool may use this function to add them back. > > Note that a compilation database won't necessarily store these invocations > without their corresponding implicit flags. Some may use > `addTargetAndModeForProgramName` when the database is first written out so > that later readers don't need to repeat the operation. > > http://reviews.llvm.org/D13318 > > Files: > include/clang/Tooling/Tooling.h > lib/Tooling/Tooling.cpp > unittests/Tooling/ToolingTest.cpp > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits