[llvm] [llvm-cxxfilt] Add --quote option to quote demangled function names (PR #111871)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 00:50:14 PDT 2024
================
@@ -100,7 +99,7 @@ static std::string demangle(const std::string &Mangled, StringRef Delimiters) {
}
Result =
- Undecorated ? Prefix + optionalQuote(Undecorated, Delimiters) : Mangled;
+ Undecorated ? optionalQuote(Prefix + Undecorated, Delimiters) : Mangled;
----------------
jh7370 wrote:
Maybe you misunderstood something I said, but I actually prefer just the `Undecorated` part being quoted. E.g. 'import thunk for "std::future\<void\>"'. However, I'm not that bothered either way, so am happy if you'd prefer to leave it as-is.
https://github.com/llvm/llvm-project/pull/111871
More information about the llvm-commits
mailing list