LLDB mainline
|
#include <CPlusPlusLanguage.h>
Public Member Functions | |
MethodName () | |
MethodName (ConstString s) | |
void | Clear () |
bool | IsValid () |
ConstString | GetFullName () const |
std::string | GetScopeQualifiedName () |
llvm::StringRef | GetBasename () |
llvm::StringRef | GetContext () |
llvm::StringRef | GetArguments () |
llvm::StringRef | GetQualifiers () |
llvm::StringRef | GetReturnType () |
Returns the methods return-type. | |
bool | ContainsPath (llvm::StringRef path) |
Protected Member Functions | |
void | Parse () |
bool | TrySimplifiedParse () |
Protected Attributes | |
ConstString | m_full |
llvm::StringRef | m_basename |
llvm::StringRef | m_context |
llvm::StringRef | m_arguments |
llvm::StringRef | m_qualifiers |
llvm::StringRef | m_return_type |
bool | m_parsed = false |
bool | m_parse_error = false |
Private Member Functions | |
llvm::StringRef | GetBasenameNoTemplateParameters () |
Returns the Basename of this method without a template parameter list, if any. | |
Definition at line 28 of file CPlusPlusLanguage.h.
|
inline |
Definition at line 30 of file CPlusPlusLanguage.h.
|
inline |
Definition at line 33 of file CPlusPlusLanguage.h.
void CPlusPlusLanguage::MethodName::Clear | ( | ) |
Definition at line 109 of file CPlusPlusLanguage.cpp.
References lldb_private::ConstString::Clear(), m_arguments, m_basename, m_context, m_full, m_parse_error, m_parsed, m_qualifiers, and m_return_type.
bool CPlusPlusLanguage::MethodName::ContainsPath | ( | llvm::StringRef | path | ) |
Definition at line 329 of file CPlusPlusLanguage.cpp.
References lldb_private::CPlusPlusLanguage::ExtractContextAndIdentifier().
Referenced by lldb_private::CPlusPlusLanguage::DemangledNameContainsPath().
llvm::StringRef CPlusPlusLanguage::MethodName::GetArguments | ( | ) |
Definition at line 287 of file CPlusPlusLanguage.cpp.
Referenced by lldb_private::CPlusPlusLanguage::FindBestAlternateFunctionMangledName().
llvm::StringRef CPlusPlusLanguage::MethodName::GetBasename | ( | ) |
Definition at line 275 of file CPlusPlusLanguage.cpp.
Referenced by lldb_private::CPlusPlusLanguage::GetDemangledFunctionNameWithoutArguments(), and lldb_private::Module::LookupInfo::Prune().
|
private |
Returns the Basename of this method without a template parameter list, if any.
Definition at line 319 of file CPlusPlusLanguage.cpp.
References ReverseFindMatchingChars().
llvm::StringRef CPlusPlusLanguage::MethodName::GetContext | ( | ) |
Definition at line 281 of file CPlusPlusLanguage.cpp.
Referenced by lldb_private::CPlusPlusLanguage::GetDemangledFunctionNameWithoutArguments(), and lldb_private::Module::LookupInfo::Prune().
|
inline |
Definition at line 47 of file CPlusPlusLanguage.h.
References m_full.
llvm::StringRef CPlusPlusLanguage::MethodName::GetQualifiers | ( | ) |
Definition at line 293 of file CPlusPlusLanguage.cpp.
Referenced by lldb_private::CPlusPlusLanguage::FindBestAlternateFunctionMangledName().
llvm::StringRef CPlusPlusLanguage::MethodName::GetReturnType | ( | ) |
Returns the methods return-type.
Currently returns an empty llvm::StringRef if the return-type is a function pointer.
Definition at line 299 of file CPlusPlusLanguage.cpp.
std::string CPlusPlusLanguage::MethodName::GetScopeQualifiedName | ( | ) |
Definition at line 305 of file CPlusPlusLanguage.cpp.
Referenced by lldb_private::CPlusPlusLanguage::FindBestAlternateFunctionMangledName(), and lldb_private::Module::LookupInfo::Prune().
|
inline |
Definition at line 39 of file CPlusPlusLanguage.h.
References m_full, m_parse_error, m_parsed, and Parse().
Referenced by lldb_private::CPlusPlusLanguage::FindBestAlternateFunctionMangledName(), and lldb_private::Module::LookupInfo::Prune().
|
protected |
Definition at line 254 of file CPlusPlusLanguage.cpp.
References lldb_private::CPlusPlusNameParser::ParseAsFunctionDefinition().
Referenced by IsValid().
|
protected |
Definition at line 211 of file CPlusPlusLanguage.cpp.
References IsTrivialBasename(), and ReverseFindMatchingChars().
|
protected |
Definition at line 91 of file CPlusPlusLanguage.h.
Referenced by Clear().
|
protected |
Definition at line 89 of file CPlusPlusLanguage.h.
Referenced by Clear().
|
protected |
Definition at line 90 of file CPlusPlusLanguage.h.
Referenced by Clear().
|
protected |
Definition at line 86 of file CPlusPlusLanguage.h.
Referenced by Clear(), GetFullName(), and IsValid().
|
protected |
Definition at line 95 of file CPlusPlusLanguage.h.
|
protected |
Definition at line 94 of file CPlusPlusLanguage.h.
|
protected |
Definition at line 92 of file CPlusPlusLanguage.h.
Referenced by Clear().
|
protected |
Definition at line 93 of file CPlusPlusLanguage.h.
Referenced by Clear().