[clang][deps] Include "-cc1" in the arguments
authorJan Svoboda <jan_svoboda@apple.com>
Wed, 21 Apr 2021 11:25:31 +0000 (13:25 +0200)
committerJan Svoboda <jan_svoboda@apple.com>
Thu, 22 Apr 2021 08:57:56 +0000 (10:57 +0200)
commit398f25340000f26d648ebbc7eae9dc401ffc7d5f
treed30494277fd9c708bce5a88bf504090020c0a19a
parent0e777e4ad7d554436a1c181674bdbaeab9053c31
[clang][deps] Include "-cc1" in the arguments

To simplify tools consuming dependency scanning results, prepend the "-cc1" argument by default.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D100942
clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
clang/test/ClangScanDeps/modules-full.cpp