Skip to content

Commit 9b7b30b

Browse files
authored
Merge pull request #9591 from tshortli/suppress-more-swift-cxx-interop-cycle-warnings-20240723
2 parents dd02857 + 9be8a97 commit 9b7b30b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/Support/SuffixTree.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,14 @@ class SuffixTree {
197197
return It;
198198
}
199199

200+
#ifndef __swift__
200201
bool operator==(const RepeatedSubstringIterator &Other) const {
201202
return N == Other.N;
202203
}
203204
bool operator!=(const RepeatedSubstringIterator &Other) const {
204205
return !(*this == Other);
205206
}
207+
#endif
206208

207209
RepeatedSubstringIterator(
208210
SuffixTreeInternalNode *N,

0 commit comments

Comments
 (0)