We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ba936 commit ea0387aCopy full SHA for ea0387a
lib/SILGen/SILGenType.cpp
@@ -261,8 +261,11 @@ class SILGenVTable : public SILVTableVisitor<SILGenVTable> {
261
// Map a base SILDeclRef to the corresponding element in vtableMethods.
262
llvm::DenseMap<SILDeclRef, unsigned> baseToIndexMap;
263
264
+ // A base method and a corresponding override.
265
+ using VTableMethod = std::pair<SILDeclRef, SILDeclRef>;
266
+
267
// For each base method, store the corresponding override.
- SmallVector<std::pair<SILDeclRef, SILDeclRef>, 8> vtableMethods;
268
+ SmallVector<VTableMethod, 8> vtableMethods;
269
270
SILGenVTable(SILGenModule &SGM, ClassDecl *theClass)
271
: SGM(SGM), theClass(theClass) {
0 commit comments