]> granicus.if.org Git - clang/commit
[clang-scan-deps] Introduce the DependencyScanning library with the
authorAlex Lorenz <arphaman@gmail.com>
Wed, 26 Jun 2019 21:11:51 +0000 (21:11 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 26 Jun 2019 21:11:51 +0000 (21:11 +0000)
commit24d531c5bb2b8946ebe2253e24194fd63f3acbe7
treec0f86ec8c2dfc5949e6b533bfe8ff81a2c2c0a02
parenta057056821e096990964f3416835c8477eb1b6bf
[clang-scan-deps] Introduce the DependencyScanning library with the
thread worker code and better error handling

This commit extracts out the code that will powers the fast scanning
worker into a new file in a new DependencyScanning library. The error
and output handling is improved so that the clients can gather
errors/results from the worker directly.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364474 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h [new file with mode: 0644]
include/clang/Tooling/Tooling.h
lib/Tooling/CMakeLists.txt
lib/Tooling/DependencyScanning/CMakeLists.txt [new file with mode: 0644]
lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp [new file with mode: 0644]
lib/Tooling/Tooling.cpp
test/ClangScanDeps/Inputs/regular_cdb.json
test/ClangScanDeps/error.cpp [new file with mode: 0644]
tools/clang-scan-deps/CMakeLists.txt
tools/clang-scan-deps/ClangScanDeps.cpp