[clang] [clang][modules-driver] Add dependency scan and dependency graph (PR #152770)

Michael Spencer via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 14 16:43:42 PDT 2025


================
@@ -99,5 +100,6 @@ add_clang_library(clangDriver
   LINK_LIBS
   clangBasic
   clangLex
+  clangDependencyScanning
----------------
Bigcheese wrote:

Frontend depends on Driver for the options (because driver and -cc1 options got merged) and for `clang::createInvocation`. I think we should move the options to their own library (clangOptions?). `clang::createInvocation` is harder because it's used by `ASTUnit::LoadFromCommandLine`. I think both of these should move to the driver as the rest of the frontend doesn't use them.

https://github.com/llvm/llvm-project/pull/152770


More information about the cfe-commits mailing list