Update microsoftDemangle() to work more like itaniumDemangle().
* Use same method of initializing the output stream and its buffer * Allow a nullptr Status pointer * Don't print the mangled name on demangling error * Write to N (if it is non-nullptr) Differential Revision: https://reviews.llvm.org/D52104 llvm-svn: 342330
Showing
- llvm/include/llvm/Demangle/Utility.h 15 additions, 16 deletionsllvm/include/llvm/Demangle/Utility.h
- llvm/lib/Demangle/ItaniumDemangle.cpp 0 additions, 15 deletionsllvm/lib/Demangle/ItaniumDemangle.cpp
- llvm/lib/Demangle/MicrosoftDemangle.cpp 32 additions, 14 deletionsllvm/lib/Demangle/MicrosoftDemangle.cpp
Loading
Please register or sign in to comment