/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ClangExternalASTSourceCallbacks.cpp | 21 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType() argument 22 m_ast.CompleteTagDecl(tag_decl); in CompleteType() 45 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls() local 47 if (tag_decl) in FindExternalLexicalDecls() 48 CompleteType(tag_decl); in FindExternalLexicalDecls()
|
H A D | NameSearchContext.cpp | 156 TagDecl *tag_decl = tag_type->getDecl(); in AddTypeDecl() local 158 m_decls.push_back(tag_decl); in AddTypeDecl() 160 return tag_decl; in AddTypeDecl()
|
H A D | ClangASTImporter.cpp | 264 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { in ~CompleteTagDeclsScope() 267 m_delegate->ImportDefinitionTo(tag_decl, original_tag_decl); in ~CompleteTagDeclsScope() 268 tag_decl->setCompleteDefinition(true); in ~CompleteTagDeclsScope() 272 tag_decl->setHasExternalLexicalStorage(false); in ~CompleteTagDeclsScope() 273 tag_decl->setHasExternalVisibleStorage(false); in ~CompleteTagDeclsScope() 863 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren() 865 DeclOrigin decl_origin = GetDeclOrigin(tag_decl); in CompleteAndFetchChildren() 871 GetDelegate(&tag_decl->getASTContext(), decl_origin.ctx)); in CompleteAndFetchChildren() 874 &tag_decl->getASTContext()); in CompleteAndFetchChildren() 931 TagDecl *tag_decl in RequireCompleteType() 265 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { ~CompleteTagDeclsScope() local 864 TagDecl *tag_decl = tag_type->getDecl(); CompleteAndFetchChildren() local 932 TagDecl *tag_decl = tag_type->getDecl(); RequireCompleteType() local [all...] |
H A D | ClangASTSource.cpp | 263 void ClangASTSource::CompleteType(TagDecl *tag_decl) { in CompleteType() 270 m_clang_ast_context->getDisplayName(), tag_decl, in CompleteType() 271 tag_decl->getName()); in CompleteType() 273 LLDB_LOG(log, " CTD Before:\n{0}", ClangUtil::DumpDecl(tag_decl)); in CompleteType() 276 auto iter = m_active_lexical_decls.find(tag_decl); in CompleteType() 279 m_active_lexical_decls.insert(tag_decl); in CompleteType() 280 ScopedLexicalDeclEraser eraser(m_active_lexical_decls, tag_decl); in CompleteType() 282 if (!m_ast_importer_sp->CompleteTagDecl(tag_decl)) { in CompleteType() 285 if (TagDecl *alternate = FindCompleteType(tag_decl)) in CompleteType() 286 m_ast_importer_sp->CompleteTagDeclWithOrigin(tag_decl, alternat in CompleteType() 262 CompleteType(TagDecl * tag_decl) CompleteType() argument [all...] |
H A D | ClangExternalASTSourceCallbacks.h | 45 void CompleteType(clang::TagDecl *tag_decl) override;
|
/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCDeclVendor.cpp | 71 void CompleteType(clang::TagDecl *tag_decl) override { in CompleteType() 79 static_cast<void *>(&tag_decl->getASTContext()), in CompleteType() 80 static_cast<void *>(tag_decl), tag_decl->getName().str().c_str()); in CompleteType() 82 LLDB_LOG(log, " AOEAS::CT Before:\n{1}", ClangUtil::DumpDecl(tag_decl)); in CompleteType() 84 LLDB_LOG(log, " AOEAS::CT After:{1}", ClangUtil::DumpDecl(tag_decl)); in CompleteType() 70 CompleteType(clang::TagDecl * tag_decl) CompleteType() argument
|
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | UdtRecordCompleter.h | 65 PdbTypeSymId id, CompilerType &derived_ct, clang::TagDecl &tag_decl,
|
H A D | UdtRecordCompleter.cpp | 38 PdbTypeSymId id, CompilerType &derived_ct, clang::TagDecl &tag_decl, in UdtRecordCompleter() argument 44 : m_id(id), m_derived_ct(derived_ct), m_tag_decl(tag_decl), in UdtRecordCompleter()
|
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 1176 if (clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(decl)) in SetOwningModule() 1177 return GetTypeForDecl(tag_decl); in SetOwningModule() 2427 if (clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(decl)) { in GetCompleteDecl() 2428 if (tag_decl->isCompleteDefinition()) in GetCompleteDecl() 2431 if (!tag_decl->hasExternalLexicalStorage()) in GetCompleteDecl() 2434 ast_source->CompleteType(tag_decl); in GetCompleteDecl() 2436 return !tag_decl->getTypeForDecl()->isIncompleteType(); in GetCompleteDecl() 2641 auto *tag_decl = enum_type->getAsTagDecl(); in GetCompleteEnumType() 2642 assert(tag_decl); in GetCompleteEnumType() 2645 if (tag_decl in GetCompleteEnumType() 1154 if (clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(decl)) GetTypeForDecl() local 2426 if (clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>(decl)) { GetCompleteDecl() local 2636 auto *tag_decl = enum_type->getAsTagDecl(); GetCompleteEnumType() local 3450 clang::TagDecl *tag_decl = tag_type->getDecl(); IsDefined() local 7169 if (auto *tag_decl = dyn_cast<clang::TagDecl>(decl)) GetDirectNestedTypeWithName() local 8384 clang::TagDecl *tag_decl = tag_type->getDecl(); StartTagDeclarationDefinition() local 8420 clang::TagDecl *tag_decl = tag_type->getDecl(); CompleteTagDeclarationDefinition() local 8613 if (clang::TagDecl *tag_decl = GetAsTagDecl(full_type)) { DumpFromSymbolFile() local 8937 if (clang::TagDecl *tag_decl = tag_type->getDecl()) { DumpTypeDescription() local [all...] |
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.cpp | 297 clang::TagDecl *tag_decl = TypeSystemClang::GetAsTagDecl(type); in ParsedDWARFTypeAttributes() 298 if (tag_decl) { in ParsedDWARFTypeAttributes() 299 LinkDeclContextToDIE(tag_decl, die); in ParsedDWARFTypeAttributes() 228 clang::TagDecl *tag_decl = TypeSystemClang::GetAsTagDecl(type); ParseTypeFromClangModule() local
|