[PATCH] D132405: [clang][deps] Split translation units into individual -cc1 or other commands

Thorsten via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 22 12:03:33 PDT 2022


tschuett added inline comments.


================
Comment at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h:44
+
+  enum CommandKind {
+    CK_CC1,
----------------
Why is this not an enum class?


================
Comment at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h:80
+
+  static bool classof(const Command *C) { return C->getKind() == CK_Simple; }
+};
----------------
Why are all members public?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132405



More information about the cfe-commits mailing list