This function returns true if the ABI requires that we emit a
definition for a given function, given that we don't have a body
for it in the TU.
Details
- Reviewers
rjmccall
Diff Detail
Event Timeline
LGTM for me with one suggestion,
but please note that I'm not an approver for this code, so talk to John for the final review.
lib/CodeGen/CGCXXABI.h | ||
---|---|---|
322 | Would be nice to give an example of when it's needed, otherwise it's a bit cryptic. |
Also, pinging John since this is more interface-y.
lib/CodeGen/CGCXXABI.h | ||
---|---|---|
322 | "bodyless emission" is confusing to me, but I can't invent a better name. So long as the doc comment explains that this only makes sense when we can do something like delegate to a different variant of the function expected to be emitted in some other TU, then this works for me. |
Would be nice to give an example of when it's needed, otherwise it's a bit cryptic.