[clang-tools-extra] clang-tidy: treat fragment includes as main-file parts (PR #180282)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 6 19:38:09 PST 2026


================
@@ -20,12 +20,14 @@
 #include "clang/Lex/HeaderSearch.h"
 #include "clang/Lex/Preprocessor.h"
 #include "llvm/Support/Regex.h"
+#include <string>
----------------
zeyi2 wrote:

A small nit: Seems like unnecessary header include ("clang/Lex/HeaderSearch.h" already contains it), would you please remove this line?

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


More information about the cfe-commits mailing list