[clang] [clang][deps] Skip slow `UNHASHED_CONTROL_BLOCK` records (PR #69975)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 19:00:12 PDT 2023


================
@@ -219,6 +219,12 @@ class HeaderSearchOptions {
 
   unsigned ModulesValidateDiagnosticOptions : 1;
 
+  /// Whether to entirely skip writing diagnostic options.
+  unsigned ModulesSkipDiagnosticOptions : 1;
+
+  /// Whether to entirely skip writing header search paths.
----------------
ChuanqiXu9 wrote:

Then let's try to add comments about these two options are primarily used for deps scanning. It is helpful for future developers.

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


More information about the cfe-commits mailing list