]> granicus.if.org Git - clang/commit
[clang-scan-deps] NFC, refactor the DependencyScanningWorker to use a consumer
authorAlex Lorenz <arphaman@gmail.com>
Fri, 30 Aug 2019 01:25:57 +0000 (01:25 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 30 Aug 2019 01:25:57 +0000 (01:25 +0000)
commit145272e6be4c7ba738c9795fd19b5ca68702c097
tree21d43ebd284e8c5b2ab9f8320d1e162e26836c67
parentd6beacf5d7933083d3a3102102d3d8b379288aa5
[clang-scan-deps] NFC, refactor the DependencyScanningWorker to use a consumer
to report the dependencies to the client

This will allow the scanner to report modular dependencies to the consumer.
This will also allow the scanner to accept regular cc1 clang invocations, e.g.
in an implementation of a libclang C API for clang-scan-deps, that I will add
follow-up patches for in the future.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370425 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
tools/clang-scan-deps/ClangScanDeps.cpp