Copy link
@nikic

nikic Nov 4, 2022

Author Contributor

Apparently, this is handled here:

bool doesNotFreeMemory() const {
return onlyReadsMemory() || hasFnAttribute(Attribute::NoFree);
}