Skip to content

Commit 4e86196

Browse files
authored
Merge pull request #9590 from tshortli/suppress-more-swift-cxx-interop-cycle-warnings
2 parents 4c0c901 + 4268572 commit 4e86196

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)