Files
clang-p2996/lldb/source/Core/Mangled.cpp
Michael Buch 7ecb0d03a4 [lldb][Mangled] Use early-return style in GetDemangledName (#130622)
This patch refactors `Mangled::GetDemangledName` to use LLVM's preferred
early-return style. I'm planning on introducing a way to force
re-demangling of names in a future patch, and this stylisitc cleanup
makes that easier to reason about.

Also performed small cleanups where I could:
* we can handle `eManglingSchemeNone` inside the switch instead of a
separate if-block
* removed some redundant explicit StringRef<->C-string conversions
2025-03-11 08:12:46 +00:00

18 KiB