[PATCH] D34304: Allow CompilerInvocations to generate .d files.

Sterling Augustine via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 21 13:33:25 PDT 2017

saugustine added a comment.

> Actually, now that I figured out you mean ArgumentAdjusters, I am making progress.

Unfortunately, ArgumentAdjusters only work on vector<std::string>, and while ToolInvocation::Invocation takes its arguments in that form, tooling::newInvocation (which returns a CompilerInvocation) takes a SmallVector<const char *, 16>, so we either need to change one side's interface, or write two ArgumentAdjusters, but with similar semantics.

What is your preferred solution?


More information about the cfe-commits mailing list