[clang-tools-extra] [clang-tidy][NFC] Do less unnecessary work in `NoLintDirectiveHandler` (PR #147553)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 9 07:43:05 PDT 2025


================
@@ -93,15 +92,17 @@ class NoLintToken {
   // The location of the first character, "N", in "NOLINT".
   size_t Pos;
 
+  // A glob of the checks this NOLINT token disables.
+  std::unique_ptr<CachedGlobList> ChecksGlob;
----------------
vbvictor wrote:

I see we access this field.

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


More information about the cfe-commits mailing list