Home
last modified time | relevance | path

Searched refs:DeclOrigin (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.h147 struct DeclOrigin { struct
148 DeclOrigin() : ctx(nullptr), decl(nullptr) {} in DeclOrigin() argument
150 DeclOrigin(clang::ASTContext *_ctx, clang::Decl *_decl) in DeclOrigin() argument
153 DeclOrigin(const DeclOrigin &rhs) { in DeclOrigin() argument
158 void operator=(const DeclOrigin &rhs) {
261 typedef llvm::DenseMap<const clang::Decl *, DeclOrigin> OriginMap;
274 void setOrigin(const clang::Decl *decl, DeclOrigin origin) { in setOrigin()
296 DeclOrigin getOrigin(const clang::Decl *decl) const { in getOrigin()
299 return DeclOrigin(); in getOrigin()
359 DeclOrigin GetDeclOrigin(const clang::Decl *decl);
DClangASTImporter.cpp559 DeclOrigin decl_origin = GetDeclOrigin(decl); in CompleteTagDecl()
593 context_md->setOrigin(decl, DeclOrigin(origin_ast_ctx, origin_decl)); in CompleteTagDeclWithOrigin()
599 DeclOrigin decl_origin = GetDeclOrigin(interface_decl); in CompleteObjCInterfaceDecl()
628 DeclOrigin decl_origin = GetDeclOrigin(tag_decl); in CompleteAndFetchChildren()
660 DeclOrigin decl_origin = GetDeclOrigin(objc_interface_decl); in CompleteAndFetchChildren()
716 DeclOrigin decl_origin = GetDeclOrigin(decl); in GetDeclMetadata()
726 ClangASTImporter::DeclOrigin
737 decl, DeclOrigin(&original_decl->getASTContext(), original_decl)); in SetDeclOrigin()
832 DeclOrigin origin = m_master.GetDeclOrigin(From); in ImportImpl()
1088 DeclOrigin origin = from_context_md->getOrigin(from); in Imported()
[all …]
DClangASTSource.h347 ClangASTImporter::DeclOrigin GetDeclOrigin(const clang::Decl *decl);
DClangASTSource.cpp318 ClangASTImporter::DeclOrigin original = m_ast_importer_sp->GetDeclOrigin(interface_decl); in CompleteType()
424 ClangASTImporter::DeclOrigin original = m_ast_importer_sp->GetDeclOrigin(context_decl); in FindExternalLexicalDecls()
756 ClangASTImporter::DeclOrigin origin = source.GetDeclOrigin(this->decl); in GetOrigin()
948 ClangASTImporter::DeclOrigin original = m_ast_importer_sp->GetDeclOrigin(interface_decl); in FindObjCMethodDecls()
1741 ClangASTImporter::DeclOrigin ClangASTSource::GetDeclOrigin(const clang::Decl *decl) { in GetDeclOrigin()
/external/llvm-project/lldb/unittests/Symbol/
DTestClangASTImporter.cpp60 ClangASTImporter::DeclOrigin origin = importer.GetDeclOrigin(imported); in TEST_F()
84 ClangASTImporter::DeclOrigin origin = in TEST_F()