Home
last modified time | relevance | path

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

123456789

/external/llvm-project/clang/lib/AST/
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()
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;
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()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp61 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
73 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
75 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
118 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
127 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
129 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
132 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
141 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
143 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
DCXXABI.h62 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
66 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0;
68 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
71 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
DItaniumCXXABI.cpp92 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
152 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
155 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
159 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
162 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
/external/llvm-project/lldb/unittests/Symbol/
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()
/external/clang/include/clang/AST/
DASTConsumer.h28 class TagDecl; variable
75 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
79 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
DMangleNumberingContext.h27 class TagDecl; variable
55 virtual unsigned getManglingNumber(const TagDecl *TD,
DDecl.h2670 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
2727 class TagDecl
2728 : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> {
2807 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl() function
2808 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
2820 typedef Redeclarable<TagDecl> redeclarable_base;
2821 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
2824 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
2827 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
2858 TagDecl *getCanonicalDecl() override;
[all …]
DASTMutationListener.h36 class TagDecl; variable
49 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
/external/llvm-project/clang/include/clang/AST/
DASTConsumer.h25 class TagDecl; variable
72 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
76 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
DMangleNumberingContext.h25 class TagDecl; variable
53 virtual unsigned getManglingNumber(const TagDecl *TD,
DDecl.h72 class TagDecl; variable
3201 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
3269 class TagDecl : public TypeDecl,
3271 public Redeclarable<TagDecl> {
3302 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3303 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
3306 using redeclarable_base = Redeclarable<TagDecl>;
3308 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3312 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3316 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
[all …]
DASTMutationListener.h37 class TagDecl; variable
51 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DUdtRecordCompleter.h22 class TagDecl; variable
52 clang::TagDecl &m_tag_decl;
60 clang::TagDecl &tag_decl, PdbAstBuilder &ast_builder,
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExternalASTSourceCallbacks.cpp19 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType()
43 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
DClangASTImporter.cpp262 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { in ~CompleteTagDeclsScope()
263 if (auto *original_tag_decl = dyn_cast<TagDecl>(original_decl)) { in ~CompleteTagDeclsScope()
287 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
558 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
578 bool ClangASTImporter::CompleteTagDeclWithOrigin(clang::TagDecl *decl, in CompleteTagDeclWithOrigin()
579 clang::TagDecl *origin_decl) { in CompleteTagDeclWithOrigin()
626 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
639 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
694 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
867 auto *td = dyn_cast<TagDecl>(From); in ImportImpl()
[all …]
DClangUtil.h20 class TagDecl; variable
37 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
DClangASTSource.h148 void CompleteType(clang::TagDecl *Tag) override;
226 void CompleteType(clang::TagDecl *Tag) override { in CompleteType()
370 clang::TagDecl *FindCompleteType(const clang::TagDecl *decl);
/external/llvm-project/clang/test/Index/Core/
Dindex-source.cpp437 class TagDecl;
440 class TagDecl;
443 class TagDecl { }; class
447 using TypeAlias = TagDecl<T>;
/external/llvm-project/clang/lib/Serialization/
DASTCommon.cpp293 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
446 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
464 return isa<TagDecl>(D) || isa<BlockDecl>(D); in needsAnonymousDeclarationNumber()
472 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h42 void HandleTagDeclDefinition(TagDecl *D) override;
43 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/external/llvm-project/clang/unittests/CodeGen/
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()
/external/clang/lib/Serialization/
DASTCommon.cpp191 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
331 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
344 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()

123456789