Skip to content

Commit 2360985

Browse files
committed
Remove a dead function
1 parent 0afc138 commit 2360985

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/lib/CIR/CodeGen/CIRGenClass.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@ struct CallBaseDtor final : EHScopeStack::Cleanup {
148148
cgf.emitCXXDestructorCall(d, Dtor_Base, baseIsVirtual,
149149
/*delegating=*/false, addr, thisTy);
150150
}
151-
152-
// This is a placeholder until EHCleanupScope is implemented.
153-
size_t getSize() const override {
154-
assert(!cir::MissingFeatures::ehCleanupScope());
155-
return sizeof(CallBaseDtor);
156-
}
157151
};
158152

159153
/// A visitor which checks whether an initializer uses 'this' in a

0 commit comments

Comments
 (0)