Skip to content

Commit 5d2c324

Browse files
committed
Remove a leftover debug-only statement in CheckExprLifetime.cpp
1 parent 33a50e0 commit 5d2c324

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/Sema/CheckExprLifetime.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,6 @@ static void visitLocalsRetainedByInitializer(IndirectLocalPath &Path,
825825
if (auto *CCE = dyn_cast<CXXConstructExpr>(Init)) {
826826
if (CCE->getConstructor()->isCopyOrMoveConstructor()) {
827827
if (auto *MTE = dyn_cast<MaterializeTemporaryExpr>(CCE->getArg(0))) {
828-
// assert(false && "hit temporary copy path");
829828
Expr *Arg = MTE->getSubExpr();
830829
Path.push_back({IndirectLocalPathEntry::TemporaryCopy, Arg,
831830
CCE->getConstructor()});

0 commit comments

Comments
 (0)