No call sites use these parameters, so drop them.
Equivalent to D148940.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM to remove char *buf, size_t *n,. If a user somewhat needs the parameters, we can add another API.
llvm/lib/ProfileData/GCOV.cpp | ||
---|---|---|
343 | llvm-cov gcov uses status. |
llvm/lib/ProfileData/GCOV.cpp | ||
---|---|---|
343 | Not meaningfully; all of the call sites seem confused by this terrible interface. Does returning nullptr indicate failure to demangle? Does status returning non-zero mean demangling failed? Should I free the result? The interface is bad. It should return a std::string that's empty upon demangling failure. https://reviews.llvm.org/D149707 is the follow up to remove status. |
no one cares about status either. @MaskRay should I submit that as a second patch on top of this, or squash it into this review?