SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
lang/clazy/patches/patch-src_PreProcessorVisitor_cpp
Normal file
15
lang/clazy/patches/patch-src_PreProcessorVisitor_cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
Fix build with llvm-15
|
||||
https://github.com/KDE/clazy/commit/20fca52da739ebefa47e35f6b338bb99a0da3cfe
|
||||
|
||||
Index: src/PreProcessorVisitor.cpp
|
||||
--- src/PreProcessorVisitor.cpp.orig
|
||||
+++ src/PreProcessorVisitor.cpp
|
||||
@@ -185,7 +185,7 @@ void PreProcessorVisitor::MacroExpands(const Token &Ma
|
||||
|
||||
void PreProcessorVisitor::InclusionDirective (clang::SourceLocation, const clang::Token &,
|
||||
clang::StringRef FileName, bool IsAngled, clang::CharSourceRange FilenameRange,
|
||||
- const clang::FileEntry *, clang::StringRef, clang::StringRef,
|
||||
+ clazy::OptionalFileEntryRef, clang::StringRef, clang::StringRef,
|
||||
const clang::Module *, clang::SrcMgr::CharacteristicKind)
|
||||
{
|
||||
if (m_ci.getPreprocessor().isInPrimaryFile() && !clazy::endsWith(FileName.str(), ".moc")) {
|
Loading…
Add table
Add a link
Reference in a new issue