With this change, we're almost ready to drop the entire table out of
MemoryBuiltins.cpp and rely solely on attributes to detect allocator
functions.
Details
Details
- Reviewers
jyknight
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I'll hold off on this one until the other LLVM patches are done, then mail out the clang work as its own logical unit.
clang/lib/CodeGen/CGExprCXX.cpp | ||
---|---|---|
1333 | Perhaps we should add this attribute to the fn decl and all calls? I think that unlike "alloc-family" in the future patch, this attribute probably doesn't need to be only applied to these "builtin" uses? |
Perhaps we should add this attribute to the fn decl and all calls? I think that unlike "alloc-family" in the future patch, this attribute probably doesn't need to be only applied to these "builtin" uses?