Skip to content

Commit 42b19b7

Browse files
committed
[NFC] Remove a redundant location print after dumping a decl reference
1 parent 6df3d90 commit 42b19b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Sema/Constraint.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,6 @@ void Constraint::print(llvm::raw_ostream &Out, SourceManager *sm) const {
383383
auto decl = overload.getDecl();
384384
decl->dumpRef(Out);
385385
Out << " : " << decl->getInterfaceType();
386-
if (!sm || !decl->getLoc().isValid()) return;
387-
Out << " at ";
388-
decl->getLoc().print(Out, *sm);
389386
};
390387

391388
switch (overload.getKind()) {

0 commit comments

Comments
 (0)