[PATCH] D156234: [clang][deps] add support for dependency scanning with cc1 command line

Connor Sughrue via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 07:02:06 PDT 2023


cpsughrue added inline comments.


================
Comment at: clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp:482
+  bool Success = false;
+  if (FinalCommandLine[1] == "-cc1") {
+    Success = createAndRunToolInvocation(FinalCommandLine, Action, *FileMgr,
----------------
Is there a good way to validate cc1 command lines?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156234/new/

https://reviews.llvm.org/D156234



More information about the cfe-commits mailing list