Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftCXXABI.cpp60 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
79 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
111 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
113 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
162 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
171 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
173 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
176 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
185 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
187 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.cpp180 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
268 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
271 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
275 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
278 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DExternalASTMerger.cpp228 if (auto *ToTag = dyn_cast<TagDecl>(To)) { in Imported()
305 void ExternalASTMerger::CompleteType(TagDecl *Tag) { in CompleteType()
309 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get())); in CompleteType()
358 if (auto *T1 = dyn_cast<TagDecl>(D1)) in IsSameDC()
359 if (auto *T2 = dyn_cast<TagDecl>(D2)) in IsSameDC()
/freebsd/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.h24 class TagDecl; variable
54 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.h72 class TagDecl; variable
3539 class TagDecl : public TypeDecl,
3541 public Redeclarable<TagDecl> {
3578 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3582 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3586 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3632 TagDecl *getCanonicalDecl() override;
3633 const TagDecl *getCanonicalDecl() const { in getCanonicalDecl()
3730 TagDecl *getDefinition() const;
3824 class EnumDecl : public TagDecl {
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp20 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType()
44 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()
554 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
622 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
635 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
690 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
867 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()
1121 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 DClangASTImporter.h150 bool CompleteTagDecl(clang::TagDecl *decl);
152 bool CompleteTagDeclWithOrigin(clang::TagDecl *decl, clang::TagDecl *origin);
H A DClangASTSource.cpp186 TagDecl *ClangASTSource::FindCompleteType(const TagDecl *decl) { in FindCompleteType()
225 TagDecl *candidate_tag_decl = in FindCompleteType()
226 const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
253 TagDecl *candidate_tag_decl = const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
263 void ClangASTSource::CompleteType(TagDecl *tag_decl) { in CompleteType()
285 if (TagDecl *alternate = FindCompleteType(tag_decl)) in CompleteType()
432 if (TagDecl *original_tag_decl = dyn_cast<TagDecl>(original.decl)) { in FindExternalLexicalDecls()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp306 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
464 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
482 return isa<TagDecl, BlockDecl>(D); in needsAnonymousDeclarationNumber()
491 return isa<TagDecl, FieldDecl>(D); in needsAnonymousDeclarationNumber()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h23 class TagDecl; variable
53 clang::TagDecl &m_tag_decl;
65 PdbTypeSymId id, CompilerType &derived_ct, clang::TagDecl &tag_decl,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DMultiplexConsumer.h64 void HandleTagDeclDefinition(TagDecl *D) override;
65 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.cpp55 if (const auto *TD = dyn_cast<clang::TagDecl>(Within); in LookupNamespace()
83 if (const auto *TD = dyn_cast<TagDecl>(Within)) in LookupNamed()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.h24 class TagDecl; variable
97 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()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendConsumer.h107 void HandleTagDeclDefinition(TagDecl *D) override;
108 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
H A DObjectFilePCHContainerOperations.cpp82 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
208 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
222 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
233 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DModuleBuilder.cpp121 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
235 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
271 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3349 Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3492 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
3513 if (TagDecl) in ParseCXXMemberSpecification()
3579 if (TagDecl) in ParseCXXMemberSpecification()
3589 ParseBaseClause(TagDecl); in ParseCXXMemberSpecification()
3623 if (TagDecl) in ParseCXXMemberSpecification()
3634 if (TagDecl) in ParseCXXMemberSpecification()
3650 if (TagDecl) { in ParseCXXMemberSpecification()
3668 if (TagDecl) in ParseCXXMemberSpecification()
3678 if (TagDecl && NonNestedClass) { in ParseCXXMemberSpecification()
[all …]

12345