[Lldb-commits] [PATCH] D105215: [lldb] Remove CPlusPlusLanguage from Mangled
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 8 12:25:45 PDT 2021
bulbazord added a comment.
In D105215#2850988 <https://reviews.llvm.org/D105215#2850988>, @jingham wrote:
> In D105215#2850821 <https://reviews.llvm.org/D105215#2850821>, @bulbazord wrote:
>
>> I kind of feel that `Language::GetDemangledFunctionNameWithoutArguments` may be a bit too specific for a generalized language plugins. I think it may be worth it to make `Mangled` an interface that language plugins can implement (e.g. `CPlusPlusMangledName`) but I haven't totally thought out what the ramifications of that would be yet.
>
> The name is unfortunate, but the notion that function types have an identifier, that is then decorated by arguments and maybe return types, seems pretty common. So in this particular case, maybe we just need a better name? GetBaseName isn't right since this function also returns any namespace information. Maybe GetFullyQualifiedBaseName?
This may be my ignorance of other languages speaking, but `GetFullyQualifiedBaseName` sounds a little more specific to C++. I'm not sure if other languages use this terminology, so I tried to keep it as generic as possible.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105215/new/
https://reviews.llvm.org/D105215
More information about the lldb-commits
mailing list