mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Remove a redundant location print after dumping a decl reference
This commit is contained in:
@@ -383,9 +383,6 @@ void Constraint::print(llvm::raw_ostream &Out, SourceManager *sm) const {
|
||||
auto decl = overload.getDecl();
|
||||
decl->dumpRef(Out);
|
||||
Out << " : " << decl->getInterfaceType();
|
||||
if (!sm || !decl->getLoc().isValid()) return;
|
||||
Out << " at ";
|
||||
decl->getLoc().print(Out, *sm);
|
||||
};
|
||||
|
||||
switch (overload.getKind()) {
|
||||
|
||||
Reference in New Issue
Block a user