| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 62 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 D | CXXABI.h | 63 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 D | ItaniumCXXABI.cpp | 179 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 D | ExternalASTMerger.cpp | 231 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 D | TestClangASTImporter.cpp | 53 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 D | ASTConsumer.h | 25 class TagDecl; variable 72 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition() 76 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
|
| H A D | MangleNumberingContext.h | 24 class TagDecl; variable 51 virtual unsigned getManglingNumber(const TagDecl *TD,
|
| H A D | ASTMutationListener.h | 37 class TagDecl; variable 51 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
|
| H A D | Decl.h | 71 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 D | UdtRecordCompleter.h | 22 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 D | ClangExternalASTSourceCallbacks.cpp | 19 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType() 43 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
|
| H A D | ClangASTImporter.cpp | 262 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 D | ClangUtil.h | 20 class TagDecl; variable 37 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
|
| H A D | ClangASTSource.h | 148 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 D | ClangASTSource.cpp | 186 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 D | ClangASTImporter.h | 150 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 D | index-source.cpp | 437 class TagDecl; 440 class TagDecl; 443 class TagDecl { }; class 447 using TypeAlias = TagDecl<T>;
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | CodeGenExternalTest.cpp | 71 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 D | ASTCommon.cpp | 301 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 D | MultiplexConsumer.h | 64 void HandleTagDeclDefinition(TagDecl *D) override; 65 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexingContext.h | 24 class TagDecl; variable 99 void indexTagDecl(const TagDecl *D,
|
| H A D | IndexTypeSourceInfo.cpp | 63 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 D | ObjectFilePCHContainerOperations.cpp | 82 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 D | ModuleBuilder.cpp | 121 } 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 D | MultiplexConsumer.cpp | 88 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()
|