[PATCH] D123088: attributes: introduce allockind attr for describing allocator fn behavior
Augie Fackler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 08:32:57 PDT 2022
durin42 marked an inline comment as done.
durin42 added inline comments.
================
Comment at: llvm/lib/AsmParser/LLParser.cpp:2061-2062
+ Kind |= AllocFnKind::New;
+ } else if (A == "resize") {
+ Kind |= AllocFnKind::Free;
+ } else if (A == "free") {
----------------
aykevl wrote:
> This looks incorrect to me.
Good catch, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123088/new/
https://reviews.llvm.org/D123088
More information about the llvm-commits
mailing list