Skip to content

Commit 29ae088

Browse files
authored
[AST] Remove dead declaration of DeclContext::getCommonParentContext (#16855)
1 parent cdb2154 commit 29ae088

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/swift/AST/DeclContext.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,6 @@ class alignas(1 << DeclContextAlignInBits) DeclContext {
408408
return false;
409409
}
410410

411-
/// Compute a context C such that C is a parent context of A and B.
412-
/// If no such context exists, return \c nullptr.
413-
static DeclContext *getCommonParentContext(DeclContext *A, DeclContext *B);
414-
415411
/// Returns the module context that contains this context.
416412
ModuleDecl *getParentModule() const;
417413

0 commit comments

Comments
 (0)