We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68dee83 commit ad2263dCopy full SHA for ad2263d
clang/lib/Sema/SemaConcept.cpp
@@ -341,7 +341,7 @@ bool Sema::CheckConstraintSatisfaction(
341
OutSatisfaction = *Satisfaction;
342
// We cannot use InsertPos here because CheckConstraintSatisfaction might have
343
// invalidated it.
344
- // FIXME: this leaks memory, we should allocate in the arena instead.
+ // Note that entries of SatisfactionCache are deleted in Sema's destructor.
345
SatisfactionCache.InsertNode(Satisfaction.release());
346
return false;
347
}
0 commit comments