mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #19985 from vinivendra/ast-dump-cleanup
Cleans up calls to print/dump for the AST Dumper
This commit is contained in:
@@ -2612,7 +2612,7 @@ static void emitDiagnoseOfUnexpectedEnumCase(SILGenFunction &SGF,
|
||||
|
||||
void SILGenFunction::emitSwitchStmt(SwitchStmt *S) {
|
||||
LLVM_DEBUG(llvm::dbgs() << "emitting switch stmt\n";
|
||||
S->print(llvm::dbgs());
|
||||
S->dump(llvm::dbgs());
|
||||
llvm::dbgs() << '\n');
|
||||
// If the subject expression is uninhabited, we're already dead.
|
||||
// Emit an unreachable in place of the switch statement.
|
||||
|
||||
Reference in New Issue
Block a user