Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftCXXABI.cpp61 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
71 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
73 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
106 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
115 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
117 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
120 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
129 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
131 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.cpp152 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
206 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
209 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
213 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
216 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DExternalASTMerger.cpp145 if (auto *ToTag = dyn_cast<TagDecl>(To)) { in Imported()
223 void ExternalASTMerger::CompleteType(TagDecl *Tag) { in CompleteType()
227 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get())); in CompleteType()
276 if (auto *T1 = dyn_cast<TagDecl>(D1)) in IsSameDC()
277 if (auto *T2 = dyn_cast<TagDecl>(D2)) in IsSameDC()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp535 } else if (TagDecl *tag_decl = dyn_cast<TagDecl>(decl)) { in CompleteDecl()
617 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
626 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
671 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
852 if (TagDecl *tag_decl = dyn_cast<TagDecl>(decl)) { in ExecuteDeportWorkQueues()
853 if (TagDecl *original_tag_decl = dyn_cast<TagDecl>(original_decl)) { in ExecuteDeportWorkQueues()
891 if (clang::TagDecl *to_tag = dyn_cast<clang::TagDecl>(to)) { in ImportDefinitionTo()
892 if (clang::TagDecl *from_tag = dyn_cast<clang::TagDecl>(from)) { in ImportDefinitionTo()
1002 if (isa<TagDecl>(to) || isa<ObjCInterfaceDecl>(to)) { in Imported()
1049 if (TagDecl *from_tag_decl = dyn_cast<TagDecl>(from)) { in Imported()
[all …]
H A DClangExternalASTSourceCallbacks.cpp65 void ClangExternalASTSourceCallbacks::CompleteType(TagDecl *tag_decl) { in CompleteType()
95 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTConsumer.h26 class TagDecl; variable
73 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
77 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
H A DMangleNumberingContext.h26 class TagDecl; variable
54 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DDecl.h71 class TagDecl; variable
3064 class TagDecl : public TypeDecl,
3066 public Redeclarable<TagDecl> {
3103 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3107 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3111 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3157 TagDecl *getCanonicalDecl() override;
3158 const TagDecl *getCanonicalDecl() const { in getCanonicalDecl()
3237 TagDecl *getDefinition() const;
3326 class EnumDecl : public TagDecl {
[all …]
H A DASTMutationListener.h38 class TagDecl; variable
52 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
H A DMangle.h60 llvm::DenseMap<const TagDecl*, uint64_t> AnonStructIds;
86 uint64_t getAnonymousStructId(const TagDecl *TD) { in getAnonymousStructId()
87 std::pair<llvm::DenseMap<const TagDecl *, uint64_t>::iterator, bool> in getAnonymousStructId()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h23 class TagDecl; variable
48 clang::TagDecl &m_tag_decl;
56 clang::TagDecl &tag_decl, PdbAstBuilder &ast_builder,
H A DPdbAstBuilder.cpp270 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
519 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()
521 return {clang::TagDecl::castToDeclContext(tag), uname}; in CreateDeclInfoForUndecoratedName()
560 clang::TagDecl *tag = qt->getAsTagDecl(); in GetParentDeclContextForSymbol()
562 return clang::TagDecl::castToDeclContext(tag); in GetParentDeclContextForSymbol()
638 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()
645 bool PdbAstBuilder::CompleteTagDecl(clang::TagDecl &tag) { in CompleteTagDecl()
964 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
983 } else if (clang::TagDecl *tag = llvm::dyn_cast<clang::TagDecl>(parent)) { in GetOrCreateFunctionDecl()
1157 return !!llvm::dyn_cast<clang::TagDecl>(&context); in isTagDecl()
[all …]
H A DPdbAstBuilder.h22 class TagDecl; variable
78 bool CompleteTagDecl(clang::TagDecl &tag);
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DClangUtil.h20 class TagDecl; variable
33 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
H A DClangExternalASTSourceCallbacks.h27 typedef void (*CompleteTagDeclCallback)(void *baton, clang::TagDecl *);
95 void CompleteType(clang::TagDecl *tag_decl) override;
H A DClangASTImporter.h137 bool CompleteTagDecl(clang::TagDecl *decl);
139 bool CompleteTagDeclWithOrigin(clang::TagDecl *decl, clang::TagDecl *origin);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.cpp272 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
418 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
436 return isa<TagDecl>(D) || isa<BlockDecl>(D); in needsAnonymousDeclarationNumber()
444 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DMultiplexConsumer.h63 void HandleTagDeclDefinition(TagDecl *D) override;
64 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp82 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
199 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
213 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
224 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DModuleBuilder.cpp111 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
208 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
241 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingContext.h25 class TagDecl; variable
96 void indexTagDecl(const TagDecl *D,
H A DIndexTypeSourceInfo.cpp53 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
102 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
250 void IndexingContext::indexTagDecl(const TagDecl *D, in indexTagDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseDeclCXX.cpp3009 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3129 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
3150 if (TagDecl) in ParseCXXMemberSpecification()
3193 if (TagDecl) in ParseCXXMemberSpecification()
3203 ParseBaseClause(TagDecl); in ParseCXXMemberSpecification()
3237 if (TagDecl) in ParseCXXMemberSpecification()
3248 if (TagDecl) in ParseCXXMemberSpecification()
3263 if (TagDecl) { in ParseCXXMemberSpecification()
3280 if (TagDecl) in ParseCXXMemberSpecification()
3290 if (TagDecl && NonNestedClass) { in ParseCXXMemberSpecification()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DMultiplexConsumer.cpp83 void CompletedTagDefinition(const TagDecl *D) override;
122 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
290 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
295 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()

12345