Skip to content

Commit 463c2d1

Browse files
committed
Update comment to be more accurate
1 parent acdccf1 commit 463c2d1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4963,12 +4963,10 @@ void CodeGenFunction::EmitCallArg(CallArgList &args, const Expr *E,
49634963

49644964
AggValueSlot ArgSlot = AggValueSlot::ignored();
49654965
// For arguments with aggregate type, create an alloca to store
4966-
// the value. If the argument's type has a destructor, that destructor
4966+
// the value. If the argument's type has a destructor, that destructor
49674967
// will run at the end of the full-expression; emit matching lifetime
4968-
// markers.
4969-
//
4970-
// FIXME: For types which don't have a destructor, consider using a
4971-
// narrower lifetime bound.
4968+
// markers. For types which don't have a destructor, we use a narrower
4969+
// lifetime bound.
49724970
if (hasAggregateEvaluationKind(E->getType())) {
49734971
RawAddress ArgSlotAlloca = Address::invalid();
49744972
ArgSlot = CreateAggTemp(E->getType(), "agg.tmp", &ArgSlotAlloca);

0 commit comments

Comments
 (0)