Skip to content

Commit a17f2d1

Browse files
committed
Update comment to be more accurate
1 parent f914b1f commit a17f2d1

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

49514951
AggValueSlot ArgSlot = AggValueSlot::ignored();
49524952
// For arguments with aggregate type, create an alloca to store
4953-
// the value. If the argument's type has a destructor, that destructor
4953+
// the value. If the argument's type has a destructor, that destructor
49544954
// will run at the end of the full-expression; emit matching lifetime
4955-
// markers.
4956-
//
4957-
// FIXME: For types which don't have a destructor, consider using a
4958-
// narrower lifetime bound.
4955+
// markers. For types which don't have a destructor, we use a narrower
4956+
// lifetime bound.
49594957
if (hasAggregateEvaluationKind(E->getType())) {
49604958
RawAddress ArgSlotAlloca = Address::invalid();
49614959
ArgSlot = CreateAggTemp(E->getType(), "agg.tmp", &ArgSlotAlloca);

0 commit comments

Comments
 (0)