Home
last modified time | relevance | path

Searched refs:TagDecl (Results 1 – 25 of 136) sorted by relevance

123456

/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftCXXABI.cpp62 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
81 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
113 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
115 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
164 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
173 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
175 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
178 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
187 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
189 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
H A DCXXABI.h63 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
67 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0;
69 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
72 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
H A DItaniumCXXABI.cpp179 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
267 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
270 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
274 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
277 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DExternalASTMerger.cpp231 if (auto *ToTag = dyn_cast<TagDecl>(To)) { in Imported()
308 void ExternalASTMerger::CompleteType(TagDecl *Tag) { in CompleteType()
312 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get())); in CompleteType()
361 if (auto *T1 = dyn_cast<TagDecl>(D1)) in IsSameDC()
362 if (auto *T2 = dyn_cast<TagDecl>(D2)) in IsSameDC()
/llvm-project-15.0.7/lldb/unittests/Symbol/
H A DTestClangASTImporter.cpp53 clang::TagDecl *imported_tag_decl = llvm::cast<clang::TagDecl>(imported); in TEST_F()
77 clang::TagDecl *imported_tag_decl = ClangUtil::GetAsTagDecl(imported); in TEST_F()
110 clang::TagDecl *imported_tag_decl = ClangUtil::GetAsTagDecl(imported); in TEST_F()
130 clang::TagDecl *imported_tag_decl = llvm::cast<clang::TagDecl>(imported); in TEST_F()
151 clang::TagDecl *imported_tag_decl = ClangUtil::GetAsTagDecl(imported); in TEST_F()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTConsumer.h25 class TagDecl; variable
72 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
76 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
H A DMangleNumberingContext.h24 class TagDecl; variable
51 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DASTMutationListener.h37 class TagDecl; variable
51 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
H A DDecl.h71 class TagDecl; variable
3366 class TagDecl : public TypeDecl,
3368 public Redeclarable<TagDecl> {
3405 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3409 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3413 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3459 TagDecl *getCanonicalDecl() override;
3460 const TagDecl *getCanonicalDecl() const { in getCanonicalDecl()
3557 TagDecl *getDefinition() const;
3646 class EnumDecl : public TagDecl {
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h22 class TagDecl; variable
52 clang::TagDecl &m_tag_decl;
63 PdbTypeSymId id, CompilerType &derived_ct, clang::TagDecl &tag_decl,
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp19 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType()
43 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
H A DClangASTImporter.cpp262 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { in ~CompleteTagDeclsScope()
287 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
553 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
621 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
634 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
689 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
866 auto *td = dyn_cast<TagDecl>(From); in ImportImpl()
914 if (clang::TagDecl *to_tag = dyn_cast<clang::TagDecl>(to)) { in ImportDefinitionTo()
915 if (clang::TagDecl *from_tag = dyn_cast<clang::TagDecl>(from)) { in ImportDefinitionTo()
1130 if (auto *to_tag_decl = dyn_cast<TagDecl>(to)) { in Imported()
[all …]
H A DClangUtil.h20 class TagDecl; variable
37 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
H A DClangASTSource.h148 void CompleteType(clang::TagDecl *Tag) override;
226 void CompleteType(clang::TagDecl *Tag) override { in CompleteType()
372 clang::TagDecl *FindCompleteType(const clang::TagDecl *decl);
H A DClangASTSource.cpp186 TagDecl *ClangASTSource::FindCompleteType(const TagDecl *decl) { in FindCompleteType()
227 TagDecl *candidate_tag_decl = in FindCompleteType()
228 const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
264 TagDecl *candidate_tag_decl = const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
269 if (!TypeSystemClang::DeclsAreEquivalent(const_cast<TagDecl *>(decl), in FindCompleteType()
281 void ClangASTSource::CompleteType(TagDecl *tag_decl) { in CompleteType()
303 if (TagDecl *alternate = FindCompleteType(tag_decl)) in CompleteType()
450 if (TagDecl *original_tag_decl = dyn_cast<TagDecl>(original.decl)) { in FindExternalLexicalDecls()
H A DClangASTImporter.h150 bool CompleteTagDecl(clang::TagDecl *decl);
152 bool CompleteTagDeclWithOrigin(clang::TagDecl *decl, clang::TagDecl *origin);
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dindex-source.cpp437 class TagDecl;
440 class TagDecl;
443 class TagDecl { }; class
447 using TypeAlias = TagDecl<T>;
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DCodeGenExternalTest.cpp71 void HandleTagDeclDefinition(TagDecl *D) override;
72 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
112 void MyASTConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
116 void MyASTConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp301 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
457 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
475 return isa<TagDecl>(D) || isa<BlockDecl>(D); in needsAnonymousDeclarationNumber()
485 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DMultiplexConsumer.h64 void HandleTagDeclDefinition(TagDecl *D) override;
65 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingContext.h24 class TagDecl; variable
99 void indexTagDecl(const TagDecl *D,
H A DIndexTypeSourceInfo.cpp63 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
119 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
304 void IndexingContext::indexTagDecl(const TagDecl *D, in indexTagDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp82 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
205 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
219 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
230 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DModuleBuilder.cpp121 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
234 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
270 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DMultiplexConsumer.cpp88 void CompletedTagDefinition(const TagDecl *D) override;
128 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
301 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
306 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()

123456