Fix build with llvm-15 https://github.com/KDE/clazy/commit/20fca52da739ebefa47e35f6b338bb99a0da3cfe Index: src/checks/manuallevel/qt6-fwd-fixes.h --- src/checks/manuallevel/qt6-fwd-fixes.h.orig +++ src/checks/manuallevel/qt6-fwd-fixes.h @@ -47,7 +47,7 @@ class Qt6FwdFixes (public) explicit Qt6FwdFixes(const std::string &name, ClazyContext *context); void VisitDecl(clang::Decl *decl) override; void VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled, - clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath, + clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath, clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) override; bool m_including_qcontainerfwd = false; std::set m_qcontainerfwd_included_in_files;