Skip to content

Commit e907534

Browse files
committed
Cleans up a few details.
1 parent b61df44 commit e907534

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ void Pattern::dump() const {
13851385
//===----------------------------------------------------------------------===//
13861386

13871387
namespace {
1388-
/// PrintStmt - Visitor implementation of Expr::dump.
1388+
/// PrintStmt - Visitor implementation of Stmt::dump.
13891389
class PrintStmt : public StmtVisitor<PrintStmt> {
13901390
public:
13911391
raw_ostream &OS;

lib/SILGen/SILGen.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,7 @@ void SILGenModule::preEmitFunction(SILDeclRef constant,
659659
if (astNode) {
660660
if (auto *decl = astNode.dyn_cast<ValueDecl *>()) {
661661
decl->dump(llvm::dbgs());
662-
}
663-
else {
662+
} else {
664663
astNode.get<Expr *>()->dump(llvm::dbgs());
665664
llvm::dbgs() << "\n";
666665
}

0 commit comments

Comments
 (0)