[PATCH] D80173: Give microsoftDemangle() an outparam for how many input bytes were consumed.

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 02:08:22 PDT 2020


hans added a comment.

Seems reasonable, but can you expand on when this comes up in practice?



================
Comment at: llvm/include/llvm/Demangle/Demangle.h:50
+/// buf can point to a *n_buf bytes large buffer where the demangled name is
+/// stored. If the buffer is to small, it is grown with realloc(). If buf is
+/// nullptr, then this malloc()s memory for the result.
----------------
s/to/too/


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80173/new/

https://reviews.llvm.org/D80173





More information about the llvm-commits mailing list