Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftCXXABI.cpp62 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
85 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
87 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
132 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
141 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
143 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
146 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
155 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
157 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
H A DCXXABI.h64 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
68 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0;
70 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
73 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
H A DItaniumCXXABI.cpp179 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
236 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
239 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
243 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
246 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()
/freebsd-13.1/contrib/llvm-project/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.h25 class TagDecl; variable
53 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DDecl.h72 class TagDecl; variable
3315 class TagDecl : public TypeDecl,
3317 public Redeclarable<TagDecl> {
3354 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3358 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3362 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3408 TagDecl *getCanonicalDecl() override;
3409 const TagDecl *getCanonicalDecl() const { in getCanonicalDecl()
3488 TagDecl *getDefinition() const;
3577 class EnumDecl : public TagDecl {
[all …]
H A DASTMutationListener.h37 class TagDecl; variable
51 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
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()
945 if (clang::TagDecl *to_tag = dyn_cast<clang::TagDecl>(to)) { in ImportDefinitionTo()
946 if (clang::TagDecl *from_tag = dyn_cast<clang::TagDecl>(from)) { in ImportDefinitionTo()
1162 if (auto *to_tag_decl = dyn_cast<TagDecl>(to)) { in Imported()
[all …]
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 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.cpp185 TagDecl *ClangASTSource::FindCompleteType(const TagDecl *decl) { in FindCompleteType()
226 TagDecl *candidate_tag_decl = in FindCompleteType()
227 const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
263 TagDecl *candidate_tag_decl = const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
268 if (!TypeSystemClang::DeclsAreEquivalent(const_cast<TagDecl *>(decl), in FindCompleteType()
280 void ClangASTSource::CompleteType(TagDecl *tag_decl) { in CompleteType()
302 if (TagDecl *alternate = FindCompleteType(tag_decl)) in CompleteType()
449 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);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h22 class TagDecl; variable
52 clang::TagDecl &m_tag_decl;
60 clang::TagDecl &tag_decl, PdbAstBuilder &ast_builder,
H A DPdbAstBuilder.cpp267 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
518 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()
520 return {clang::TagDecl::castToDeclContext(tag), std::string(uname)}; in CreateDeclInfoForUndecoratedName()
559 clang::TagDecl *tag = qt->getAsTagDecl(); in GetParentDeclContextForSymbol()
561 return clang::TagDecl::castToDeclContext(tag); in GetParentDeclContextForSymbol()
637 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()
644 bool PdbAstBuilder::CompleteTagDecl(clang::TagDecl &tag) { in CompleteTagDecl()
972 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
991 } else if (clang::TagDecl *tag = llvm::dyn_cast<clang::TagDecl>(parent)) { in GetOrCreateFunctionDecl()
1166 return !!llvm::dyn_cast<clang::TagDecl>(&context); in isTagDecl()
[all …]
H A DPdbAstBuilder.h21 class TagDecl; variable
74 bool CompleteTagDecl(clang::TagDecl &tag);
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
453 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
471 return isa<TagDecl>(D) || isa<BlockDecl>(D); in needsAnonymousDeclarationNumber()
479 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DMultiplexConsumer.h62 void HandleTagDeclDefinition(TagDecl *D) override;
63 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp81 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
198 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
212 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
223 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DModuleBuilder.cpp118 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
215 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
251 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.h24 class TagDecl; variable
99 void indexTagDecl(const TagDecl *D,
H A DIndexTypeSourceInfo.cpp60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
109 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
294 void IndexingContext::indexTagDecl(const TagDecl *D, in indexTagDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3186 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3325 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
3346 if (TagDecl) in ParseCXXMemberSpecification()
3412 if (TagDecl) in ParseCXXMemberSpecification()
3422 ParseBaseClause(TagDecl); in ParseCXXMemberSpecification()
3456 if (TagDecl) in ParseCXXMemberSpecification()
3467 if (TagDecl) in ParseCXXMemberSpecification()
3482 if (TagDecl) { in ParseCXXMemberSpecification()
3500 if (TagDecl) in ParseCXXMemberSpecification()
3510 if (TagDecl && NonNestedClass) { in ParseCXXMemberSpecification()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp82 void CompletedTagDefinition(const TagDecl *D) override;
122 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
295 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
300 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()

12345