File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1563,6 +1563,15 @@ InheritedEntry::InheritedEntry(const TypeLoc &typeLoc)
1563
1563
}
1564
1564
}
1565
1565
1566
+ InheritedTypes::InheritedTypes (const TypeDecl *typeDecl) : Decl(typeDecl) {
1567
+ Entries = typeDecl->Inherited ;
1568
+ }
1569
+
1570
+ InheritedTypes::InheritedTypes (const ExtensionDecl *extensionDecl)
1571
+ : Decl(extensionDecl) {
1572
+ Entries = extensionDecl->Inherited ;
1573
+ }
1574
+
1566
1575
InheritedTypes::InheritedTypes (
1567
1576
llvm::PointerUnion<const TypeDecl *, const ExtensionDecl *> decl)
1568
1577
: Decl(decl) {
@@ -1641,15 +1650,6 @@ SourceRange InheritedTypes::getRemovalRange(unsigned i) const {
1641
1650
return SourceRange (afterPriorLoc, afterMyEndLoc);
1642
1651
}
1643
1652
1644
- InheritedTypes::InheritedTypes (const TypeDecl *typeDecl) : Decl(typeDecl) {
1645
- Entries = typeDecl->Inherited ;
1646
- }
1647
-
1648
- InheritedTypes::InheritedTypes (const ExtensionDecl *extensionDecl)
1649
- : Decl(extensionDecl) {
1650
- Entries = extensionDecl->Inherited ;
1651
- }
1652
-
1653
1653
Type InheritedTypes::getResolvedType (unsigned i,
1654
1654
TypeResolutionStage stage) const {
1655
1655
ASTContext &ctx = Decl.is <const ExtensionDecl *>()
You can’t perform that action at this time.
0 commit comments