Skip to content

Commit 0f17b89

Browse files
committed
Sema: Remove some debug code, NFC
1 parent 492a26b commit 0f17b89

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/Sema/CSApply.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4766,10 +4766,6 @@ Expr *ExprRewriter::coerceCallArguments(Expr *arg, Type paramType,
47664766
arg = fromTupleExpr[0];
47674767
} else if (argParen) {
47684768
// If the element changed, rebuild a new ParenExpr.
4769-
if (!(fromTupleExpr.size() == 1 && fromTupleExpr[0])) {
4770-
arg->dump();
4771-
}
4772-
47734769
assert(fromTupleExpr.size() == 1 && fromTupleExpr[0]);
47744770
if (fromTupleExpr[0] != argParen->getSubExpr()) {
47754771
bool argParenImplicit = argParen->isImplicit();

lib/Sema/CSGen.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2463,8 +2463,6 @@ namespace {
24632463
return ArgumentLabelState{CS.allocateCopy(names), false};
24642464
}
24652465

2466-
if (!isa<TupleExpr>(arg)) arg->dump();
2467-
24682466
// Tuples.
24692467
auto tuple = cast<TupleExpr>(arg);
24702468

0 commit comments

Comments
 (0)