Skip to content

Commit 6df4a69

Browse files
committed
Update comment to be more accurate
1 parent bab355a commit 6df4a69

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
@@ -4962,12 +4962,10 @@ void CodeGenFunction::EmitCallArg(CallArgList &args, const Expr *E,
49624962

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

0 commit comments

Comments
 (0)