* This wrapper calls clang-tidy and touch the .tidy file,
and call clang or clang++ to generate the .tidy.d file.
* It combines two ninja jobs into one.
* It runs clang-tidy and clang/clang++ in parallel.
* When RBE is used, this is faster than 2 rewrapper calls.
* Work around RBE bug that mixed stdout and stderr.
* This wrapper puts stdout before stderr.
Test: make tidy-soong_subset with new clang-tidy rule in build/soong/cc.
1 file changed