[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
Mon Jul 14 11:18:53 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:

Do we need to put it in `public`?

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


More information about the cfe-commits mailing list