[PATCH] D63290: Unify DependencyFileGenerator class and DependencyCollector interface

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 11:26:33 PDT 2019


arphaman created this revision.
arphaman added reviewers: Bigcheese, vsapsai, bruno, aganea.
Herald added subscribers: dexonsmith, jkorous.
Herald added a project: clang.

This NFCI patch makes DependencyFileGenerator a DependencyCollector as it was intended when DependencyCollector was introduced. The missing PP overrides are added to the DependencyCollector as well.

This change will allow `clang-scan-deps` to access the produced dependencies without writing them out to `.d` files to disk, so that it will be able collate them and report them to the user.


Repository:
  rC Clang

https://reviews.llvm.org/D63290

Files:
  clang/include/clang/Frontend/CompilerInstance.h
  clang/include/clang/Frontend/Utils.h
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/DependencyFile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63290.204593.patch
Type: text/x-patch
Size: 20696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190613/354cfb2a/attachment-0001.bin>


More information about the cfe-commits mailing list