[all-commits] [llvm/llvm-project] 9d7244: [MemoryBuiltins] Remove CallocLike (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Dec 9 03:46:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d7244409dbbb5bbb505dcd258b250b8f95b736d
https://github.com/llvm/llvm-project/commit/9d7244409dbbb5bbb505dcd258b250b8f95b736d
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-12-09 (Fri, 09 Dec 2022)
Changed paths:
M llvm/lib/Analysis/MemoryBuiltins.cpp
Log Message:
-----------
[MemoryBuiltins] Remove CallocLike (NFC)
All functions of this kind already use allocator attributes. This
also highlights that isMallocOrCallocLikeFn() doesn't really do
what the name says (notably, it does not check for allocator
attributes). The places it is used in are also very dubious, so
we'll want to remove it.
More information about the All-commits
mailing list