Home
last modified time | relevance | path

Searched refs:CPlusPlusLanguage (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/lldb/unittests/Language/CPlusPlus/
DCPlusPlusLanguageTest.cpp15 TEST(CPlusPlusLanguage, MethodNameParsing) { in TEST() argument
112 CPlusPlusLanguage::MethodName method(ConstString(test.input)); in TEST()
124 TEST(CPlusPlusLanguage, ExtractContextAndIdentifier) { in TEST() argument
160 EXPECT_TRUE(CPlusPlusLanguage::ExtractContextAndIdentifier( in TEST()
166 EXPECT_FALSE(CPlusPlusLanguage::ExtractContextAndIdentifier("void", context, in TEST()
169 CPlusPlusLanguage::ExtractContextAndIdentifier("321", context, basename)); in TEST()
171 CPlusPlusLanguage::ExtractContextAndIdentifier("", context, basename)); in TEST()
172 EXPECT_FALSE(CPlusPlusLanguage::ExtractContextAndIdentifier( in TEST()
174 EXPECT_FALSE(CPlusPlusLanguage::ExtractContextAndIdentifier( in TEST()
176 EXPECT_FALSE(CPlusPlusLanguage::ExtractContextAndIdentifier( in TEST()
[all …]
/external/llvm-project/lldb/source/Core/
DRichManglingContext.cpp27 delete get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser); in ResetProvider()
56 m_cxx_method_parser = new CPlusPlusLanguage::MethodName(demangled); in FromCxxMethodName()
68 get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser)->GetBasename(); in IsCtorOrDtor()
83 return get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser)->IsValid(); in IsFunction()
130 get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser)->GetBasename(); in ParseFunctionBaseName()
148 get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser)->GetContext(); in ParseFunctionDeclContextName()
165 m_buffer = get<CPlusPlusLanguage::MethodName>(m_cxx_method_parser) in ParseFullName()
DModule.cpp652 if (CPlusPlusLanguage::IsCPPMangledName(name_cstr)) in LookupInfo()
666 CPlusPlusLanguage::MethodName cpp_method(name); in LookupInfo()
669 if (CPlusPlusLanguage::ExtractContextAndIdentifier(name_cstr, context, in LookupInfo()
684 CPlusPlusLanguage::MethodName cpp_method(name); in LookupInfo()
699 CPlusPlusLanguage::ExtractContextAndIdentifier(name_cstr, context, in LookupInfo()
716 !CPlusPlusLanguage::IsCPPMangledName(name_cstr)) { in LookupInfo()
717 CPlusPlusLanguage::MethodName cpp_method(name); in LookupInfo()
720 CPlusPlusLanguage::ExtractContextAndIdentifier(name_cstr, context, in LookupInfo()
775 CPlusPlusLanguage::MethodName cpp_method(full_name); in Prune()
DMangled.cpp71 CPlusPlusLanguage::MethodName cxx_method(demangled); in get_demangled_name_without_arguments()
414 if (CPlusPlusLanguage::IsCPPMangledName(mangled_name)) in GuessLanguage()
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusLanguage.cpp46 LLDB_PLUGIN_DEFINE(CPlusPlusLanguage) in LLDB_PLUGIN_DEFINE() argument
48 void CPlusPlusLanguage::Initialize() { in LLDB_PLUGIN_DEFINE()
53 void CPlusPlusLanguage::Terminate() { in Terminate()
57 lldb_private::ConstString CPlusPlusLanguage::GetPluginNameStatic() { in GetPluginNameStatic()
64 lldb_private::ConstString CPlusPlusLanguage::GetPluginName() { in GetPluginName()
68 uint32_t CPlusPlusLanguage::GetPluginVersion() { return 1; } in GetPluginVersion()
72 Language *CPlusPlusLanguage::CreateInstance(lldb::LanguageType language) { in CreateInstance()
76 return new CPlusPlusLanguage(); in CreateInstance()
80 void CPlusPlusLanguage::MethodName::Clear() { in Clear()
147 bool CPlusPlusLanguage::MethodName::TrySimplifiedParse() { in TrySimplifiedParse()
[all …]
DCPlusPlusLanguage.h24 class CPlusPlusLanguage : public Language {
75 CPlusPlusLanguage() = default;
77 ~CPlusPlusLanguage() override = default;
DCMakeLists.txt3 CPlusPlusLanguage.cpp
/external/llvm-project/lldb/unittests/Language/CLanguages/
DCLanguagesTest.cpp30 SubsystemRAII<CPlusPlusLanguage, ObjCPlusPlusLanguage, ObjCLanguage> langs; in TEST()
/external/llvm-project/lldb/source/Expression/
DIRExecutionUnit.cpp645 CPlusPlusLanguage::MethodName cpp_name(demangled); in FindBestAlternateMangledName()
668 CPlusPlusLanguage::MethodName alternate_cpp_name(demangled); in FindBestAlternateMangledName()
712 if (CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) { in CollectCandidateCPlusPlusNames()
727 CPlusPlusLanguage::FindAlternateFunctionManglings(name, alternates); in CollectCandidateCPlusPlusNames()
741 if (!CPlusPlusLanguage::IsCPPMangledName(name.GetCString())) in CollectFallbackNames()
/external/llvm-project/lldb/unittests/Language/Highlighting/
DHighlighterTest.cpp23 SubsystemRAII<FileSystem, CPlusPlusLanguage, ObjCLanguage,
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionDeclMap.cpp1741 !CPlusPlusLanguage::IsCPPMangledName(name)) || in AddOneFunction()
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.cpp1274 if (CPlusPlusLanguage::IsCPPMangledName(name.c_str())) { in CacheFunctionNames()
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp2109 if (!CPlusPlusLanguage::ExtractContextAndIdentifier(name.GetCString(), in FindGlobalVariables()