There have been a few times now where I have mixed up isAllocationFn with isAllocLikeFn. I've renamed it to isAllocOrReallocLikeFn. I'm open to something else, I juts think having both an isAllocationFn and isAllocLikeFn is confusing. It's als not clear what the difference is just looking at the name.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I would consider this a regression in clarity. isAllocationFn is *any* allocation function we know about. isAllocLike is the weird one. If you want to rename something, aim for that one.
Though, I'm hoping to just kill that off entirely in the nearish future. We've only got a handful of places left, it's just those places are getting harder/slower to fix.