[PATCH] D156234: [clang][deps] add support for dependency scanning with cc1 command line
Michael Spencer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 1 10:22:46 PDT 2023
Bigcheese added inline comments.
================
Comment at: clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp:482
+ bool Success = false;
+ if (FinalCommandLine[1] == "-cc1") {
+ Success = createAndRunToolInvocation(FinalCommandLine, Action, *FileMgr,
----------------
cpsughrue wrote:
> Is there a good way to validate cc1 command lines?
Not really, you just have to parse it. Was there a particular reason you wanted to validate here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156234/new/
https://reviews.llvm.org/D156234
More information about the cfe-commits
mailing list