[clang] [analyzer][NFC] Use llvm::any_of in small checker loops (PR #246866)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 28 09:06:35 PST 2026
================
@@ -16,6 +16,7 @@
#include "clang/AST/StmtVisitor.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
----------------
steakhal wrote:
```suggestion
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
```
https://github.com/llvm/llvm-project/pull/246866
More information about the cfe-commits
mailing list