File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
include/swift/SILPasses/Utils Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ class IgnoreExpectUseIterator
571
571
572
572
Operand *operator *() const { return *CurrentIter; }
573
573
Operand *operator ->() const { return *CurrentIter; }
574
- SILInstruction *getUser () const { return this ->getUser (); }
574
+ SILInstruction *getUser () const { return CurrentIter ->getUser (); }
575
575
576
576
IgnoreExpectUseIterator &operator ++() {
577
577
assert (**this && " increment past end()!" );
Original file line number Diff line number Diff line change @@ -2039,8 +2039,9 @@ namespace {
2039
2039
#define BEGIN_METADATA_SEARCHER_0 (SEARCHER, DECLKIND ) \
2040
2040
struct SEARCHER \
2041
2041
: MetadataSearcher<DECLKIND##MetadataScanner<SEARCHER>> { \
2042
+ using super = MetadataSearcher; \
2042
2043
SEARCHER (IRGenModule &IGM, DECLKIND##Decl *target) \
2043
- : MetadataSearcher (IGM, target) {}
2044
+ : super (IGM, target) {}
2044
2045
#define BEGIN_METADATA_SEARCHER_1 (SEARCHER, DECLKIND, TYPE_1, NAME_1 ) \
2045
2046
struct SEARCHER \
2046
2047
: MetadataSearcher<DECLKIND##MetadataScanner<SEARCHER>> { \
@@ -3790,7 +3791,7 @@ namespace {
3790
3791
BEGIN_METADATA_SEARCHER_0 (FindClassParentIndex, Class)
3791
3792
void addParentMetadataRef (ClassDecl *forClass) {
3792
3793
if (forClass == Target) setTargetOffset ();
3793
- addParentMetadataRef (forClass);
3794
+ super:: addParentMetadataRef (forClass);
3794
3795
}
3795
3796
END_METADATA_SEARCHER ()
3796
3797
}
You can’t perform that action at this time.
0 commit comments