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

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 3 12:26:02 PDT 2026


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

This is needed to bring in functions like `utils::getFileExtension`

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


More information about the cfe-commits mailing list