[Sema] Replace invalid FIXME about memory leak. NFC

Added in my previous patch by mistake.
This commit is contained in:
Ilya Biryukov 2022-05-05 15:02:36 +00:00
parent 68dee83923
commit ad2263de9f
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ bool Sema::CheckConstraintSatisfaction(
OutSatisfaction = *Satisfaction;
// We cannot use InsertPos here because CheckConstraintSatisfaction might have
// invalidated it.
// FIXME: this leaks memory, we should allocate in the arena instead.
// Note that entries of SatisfactionCache are deleted in Sema's destructor.
SatisfactionCache.InsertNode(Satisfaction.release());
return false;
}