[PATCH] D35131: Prevent ClangTools from generating dependency files.D34304 created a way for ToolInvocations to conditionally generatedependency files, and updated call sites to preserve the old behaviorof not generating them by default. CompilerInvocations...

Sterling Augustine via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 9 06:14:11 PDT 2017


saugustine created this revision.

...are yet another
call-path that needs updating to preserve the old behavior.


https://reviews.llvm.org/D35131

Files:
  lib/Tooling/Tooling.cpp


Index: lib/Tooling/Tooling.cpp
===================================================================
--- lib/Tooling/Tooling.cpp
+++ lib/Tooling/Tooling.cpp
@@ -336,6 +336,7 @@
   OverlayFileSystem->pushOverlay(InMemoryFileSystem);
   appendArgumentsAdjuster(getClangStripOutputAdjuster());
   appendArgumentsAdjuster(getClangSyntaxOnlyAdjuster());
+  appendArgumentsAdjuster(getClangStripDependencyFileAdjuster());
 }
 
 ClangTool::~ClangTool() {}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35131.105661.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170709/9f97182d/attachment.bin>


More information about the cfe-commits mailing list