Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMicrosoftCXXABI.cpp62 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 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.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()
/openbsd-src/gnu/llvm/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
51 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.h71 class TagDecl; variable
3368 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
3436 class TagDecl : public TypeDecl,
3438 public Redeclarable<TagDecl> {
3469 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3470 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
3473 using redeclarable_base = Redeclarable<TagDecl>;
3475 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3479 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3483 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A 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()
554 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
574 bool ClangASTImporter::CompleteTagDeclWithOrigin(clang::TagDecl *decl, in CompleteTagDeclWithOrigin()
575 clang::TagDecl *origin_decl) { in CompleteTagDeclWithOrigin()
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()
[all …]
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 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.cpp186 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 DClangASTImporter.h150 bool CompleteTagDecl(clang::TagDecl *decl);
152 bool CompleteTagDeclWithOrigin(clang::TagDecl *decl, clang::TagDecl *origin);
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTCommon.cpp301 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
460 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
478 return isa<TagDecl, BlockDecl>(D); in needsAnonymousDeclarationNumber()
488 return isa<TagDecl, FieldDecl>(D); in needsAnonymousDeclarationNumber()
/openbsd-src/gnu/llvm/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,
H A DPdbAstBuilder.cpp225 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
344 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()
346 return {clang::TagDecl::castToDeclContext(tag), std::string(uname)}; in CreateDeclInfoForUndecoratedName()
424 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()
435 bool PdbAstBuilder::CompleteTagDecl(clang::TagDecl &tag) { in CompleteTagDecl()
529 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType()
839 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
1022 } else if (clang::TagDecl *tag = llvm::dyn_cast<clang::TagDecl>(parent)) { in GetOrCreateFunctionDecl()
1225 return llvm::isa<clang::TagDecl>(&context); in isTagDecl()
1393 if (auto *tag = llvm::dyn_cast<clang::TagDecl>(&context)) { in ParseDeclsForSimpleContext()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DMultiplexConsumer.h64 void HandleTagDeclDefinition(TagDecl *D) override;
65 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp82 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 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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp3235 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
3259 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
3262 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
3291 Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3330 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
3381 AS, AccessAttrs, /*Delayed=*/true, TagType, TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
3404 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
3411 if (auto *TD = dyn_cast_or_null<NamedDecl>(TagDecl)) in ParseCXXMemberSpecification()
3416 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
3432 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DHLSLExternalSemaSource.h50 void CompleteType(TagDecl *Tag) override;

12345