Skip to content

Commit bbea88e

Browse files
committed
Sema: Remove unused method from FailureDiagnostic.
1 parent 29a4b8a commit bbea88e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Sema/CSDiagnostics.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ class FailureDiagnostic {
9090

9191
ConstraintLocator *getLocator() const { return Locator; }
9292

93-
SourceLoc getBestAddImportFixItLocation(const Decl *Member,
94-
SourceFile *sourceFile) const {
95-
auto &engine = Member->getASTContext().Diags;
96-
return engine.getBestAddImportFixItLoc(Member, sourceFile);
97-
}
98-
9993
Type getType(ASTNode node, bool wantRValue = true) const;
10094

10195
/// Get type associated with a given ASTNode without resolving it,

0 commit comments

Comments
 (0)