[PATCH] D150318: [clang][deps] NFC: Pass around the whole scanning service

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 15:44:54 PDT 2023


benlangmuir added inline comments.


================
Comment at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:69
+  /// The preprocessing mode used for scanning.
+  ScanningMode Mode;
+  /// The output format.
----------------
Why drop `const`?


================
Comment at: clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h:19
 #include "clang/Serialization/ASTReader.h"
+#include "clang/Tooling/DependencyScanning/DependencyScanningService.h"
 #include "llvm/ADT/DenseMap.h"
----------------
Forward declaration for the header file should be enough


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150318



More information about the cfe-commits mailing list