There are several instances where one may want to ask questions about
the name of a method/function/whatever. Classes like
CPlusPlusLanguage::MethodName and ObjCLanguage::MethodName fulfill this
purpose right now, but users of these have to have knowledge on these
classes (from plugins) to function. I propose a new class
Language::MethodNameInfo to abstract this away so that lldb's Core
libraries can ask questions about a method name without knowing the
details of a plugin.
Currently the class only has one method to override, GetSelector, but
I imagine it will have more in the future. I only added the one method
needed to replace the use of ObjCLanguage in Symtab.
clang-tidy: error: 'lldb/Core/Highlighter.h' file not found [clang-diagnostic-error]
not useful