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 llvm-svn: 364474
13 lines
291 B
JSON
13 lines
291 B
JSON
[
|
|
{
|
|
"directory": "DIR",
|
|
"command": "clang -E -fsyntax-only DIR/regular_cdb2.cpp -IInputs -D INCLUDE_HEADER2 -MD -MF DIR/regular_cdb2.d",
|
|
"file": "DIR/regular_cdb2.cpp"
|
|
},
|
|
{
|
|
"directory": "DIR",
|
|
"command": "clang -E DIR/regular_cdb.cpp -IInputs",
|
|
"file": "DIR/regular_cdb.cpp"
|
|
}
|
|
]
|