Refactor DependencyScanningTool to its own file
authorKousik Kumar <kousikk@google.com>
Tue, 22 Oct 2019 05:05:18 +0000 (05:05 +0000)
committerKousik Kumar <kousikk@google.com>
Tue, 22 Oct 2019 05:05:18 +0000 (05:05 +0000)
commitfb042b094fda351b59f1b00fe6235fc55d0f79b9
tree69c8efb0d0d64dfb2c7c79df6e942a70dee9c125
parent114de1eab29c06ac097c0e97feb713d616798f7a
Refactor DependencyScanningTool to its own file

Summary:
There's no behavior change - just moving DependencyScanningTool to its own file
since this tool can be reused across both clang-scan-deps binary and an interface
exposed as part of libClang APIs.

Reviewers: arphaman, jkorous, Bigcheese, dexonsmith

Subscribers: mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D69186

llvm-svn: 375483
clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h [new file with mode: 0644]
clang/lib/Tooling/DependencyScanning/CMakeLists.txt
clang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp [new file with mode: 0644]
clang/tools/clang-scan-deps/ClangScanDeps.cpp