ports/lang/clazy/patches/patch-src_checks_manuallevel_qt6-header-fixes_h

16 lines
919 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fix build with llvm-15
https://github.com/KDE/clazy/commit/20fca52da739ebefa47e35f6b338bb99a0da3cfe
Index: src/checks/manuallevel/qt6-header-fixes.h
--- src/checks/manuallevel/qt6-header-fixes.h.orig
+++ src/checks/manuallevel/qt6-header-fixes.h
@@ -46,7 +46,7 @@ class Qt6HeaderFixes
public:
explicit Qt6HeaderFixes(const std::string &name, ClazyContext *context);
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;
};