[NFC] Remove a redundant location print after dumping a decl reference

This commit is contained in:
Anthony Latsis
2020-07-09 18:34:41 +03:00
parent 6df3d90143
commit 42b19b75c7

View File

@@ -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()) {