[PATCH] D149784: [Damangle] convert rustDemangle to use std::string_view

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 12:07:14 PDT 2023


MaskRay added inline comments.


================
Comment at: llvm/lib/Demangle/RustDemangle.cpp:150
-char *llvm::rustDemangle(const char *MangledName) {
-  if (MangledName == nullptr)
-    return nullptr;
----------------
I see that this patch drops `if (MangledName == nullptr)` (D101444). This is a right direction. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149784



More information about the llvm-commits mailing list