Author: Jordan Rupprecht Date: 2026-07-13T15:53:50Z New Revision: 9d34596f7338ca057ea94078c31bde6c8c9c60af
URL: https://github.com/llvm/llvm-project/commit/9d34596f7338ca057ea94078c31bde6c8c9c60af DIFF: https://github.com/llvm/llvm-project/commit/9d34596f7338ca057ea94078c31bde6c8c9c60af.diff LOG: [clang][UncheckedLocalVarsChecker][NFC] Add missing headers (#209217) After #208855 this fails compiling headers standalone due to incomplete types, e.g. `error: member access into incomplete type 'ASTContext'`. It works fine building the `.cpp` files but is not a [standalone](https://llvm.org/docs/CodingStandards.html#self-contained-headers) header. Added: Modified: clang/lib/StaticAnalyzer/Checkers/WebKit/DiagOutputUtils.h Removed: ################################################################################ diff --git a/clang/lib/StaticAnalyzer/Checkers/WebKit/DiagOutputUtils.h b/clang/lib/StaticAnalyzer/Checkers/WebKit/DiagOutputUtils.h index 586a0ec9ece98..029583ff8d247 100644 --- a/clang/lib/StaticAnalyzer/Checkers/WebKit/DiagOutputUtils.h +++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/DiagOutputUtils.h @@ -10,7 +10,10 @@ #define LLVM_CLANG_ANALYZER_WEBKIT_DIAGPRINTUTILS_H #include "ASTUtils.h" +#include "clang/AST/ASTContext.h" #include "clang/AST/Decl.h" +#include "clang/AST/DeclCXX.h" +#include "clang/AST/DeclObjC.h" #include "llvm/Support/raw_ostream.h" namespace clang { _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
