[all-commits] [llvm/llvm-project] a38584: [clang][deps] Extract service config into a struct...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Feb 13 13:40:37 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a38584e0afca6c3f3099e7ecc56a454f3a58db89
      https://github.com/llvm/llvm-project/commit/a38584e0afca6c3f3099e7ecc56a454f3a58db89
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M clang-tools-extra/clangd/ScanningProjectModules.cpp
    M clang/include/clang/DependencyScanning/DependencyScanningService.h
    M clang/lib/DependencyScanning/DependencyScannerImpl.cpp
    M clang/lib/DependencyScanning/DependencyScanningService.cpp
    M clang/lib/DependencyScanning/DependencyScanningWorker.cpp
    M clang/lib/DependencyScanning/ModuleDepCollector.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp
    M clang/unittests/DependencyScanning/DependencyScanningWorkerTest.cpp
    M clang/unittests/Tooling/DependencyScannerTest.cpp

  Log Message:
  -----------
  [clang][deps] Extract service config into a struct (#181405)

Adding new configuration knobs in the scanner is fairly painful now,
especially with a diverging downstream. This patch extracts what was
previously passed into the service constructor into a struct. This
encourages one knob customization per line, reduces difficult merge
conflicts, `/*ArgName=*/`-style comments with copy-pasted defaults, etc.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list