[clang-tools-extra] [clang-tidy][NFC] Don't store a redundant copy of `HeaderFileExtensions` in every check (PR #190302)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 00:00:07 PDT 2026


================
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "GlobalNamesInHeadersCheck.h"
+#include "../utils/FileExtensionsUtils.h"
----------------
vbvictor wrote:

Do we need this? `getHeaderFileExtensions` comes from TidyCheck.h and I don't see any more changes here.
Same in files below

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


More information about the cfe-commits mailing list