[clang-tools-extra] [clang-tidy] Improve readability-enum-initial-value diagnostic message (PR #176485)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 22:39:25 PST 2026


================
@@ -15,6 +15,7 @@
 #include "clang/Basic/SourceLocation.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallString.h"
+#include "llvm/ADT/SmallVector.h"
----------------
zeyi2 wrote:

The coding standard says we should `#include as little as possible` ([link](https://llvm.org/docs/CodingStandards.html#minimal-list-of-includes)), so IMO we'd better follow the standard :)

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


More information about the cfe-commits mailing list