Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/lib/AST/
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
73 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
77 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
H A DMangleNumberingContext.h24 class TagDecl; variable
54 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DDecl.h72 class TagDecl; variable
3485 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
3555 class TagDecl : public TypeDecl,
3557 public Redeclarable<TagDecl> {
3588 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3589 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
3592 using redeclarable_base = Redeclarable<TagDecl>;
3594 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3598 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3602 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
[all …]
H A DASTMutationListener.h38 class TagDecl; variable
53 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp21 void ClangExternalASTSourceCallbacks::CompleteType(clang::TagDecl *tag_decl) { in CompleteType()
45 clang::TagDecl *tag_decl = llvm::dyn_cast<clang::TagDecl>( in FindExternalLexicalDecls()
H A DClangASTImporter.cpp265 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { in ~CompleteTagDeclsScope()
266 if (auto *original_tag_decl = dyn_cast<TagDecl>(original_decl)) { in ~CompleteTagDeclsScope()
290 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
796 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
816 bool ClangASTImporter::CompleteTagDeclWithOrigin(clang::TagDecl *decl, in CompleteTagDeclWithOrigin()
817 clang::TagDecl *origin_decl) { in CompleteTagDeclWithOrigin()
864 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
877 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
932 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
1109 auto *td = dyn_cast<TagDecl>(From); in ImportImpl()
[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()
377 clang::TagDecl *FindCompleteType(const clang::TagDecl *decl);
H A DClangASTSource.cpp185 TagDecl *ClangASTSource::FindCompleteType(const TagDecl *decl) { in FindCompleteType()
224 TagDecl *candidate_tag_decl = in FindCompleteType()
225 const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
252 TagDecl *candidate_tag_decl = const_cast<TagDecl *>(tag_type->getDecl()); in FindCompleteType()
262 void ClangASTSource::CompleteType(TagDecl *tag_decl) { in CompleteType()
284 if (TagDecl *alternate = FindCompleteType(tag_decl)) in CompleteType()
431 if (TagDecl *original_tag_decl = dyn_cast<TagDecl>(original.decl)) { in FindExternalLexicalDecls()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.cpp314 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
472 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
490 return isa<TagDecl, BlockDecl>(D); in needsAnonymousDeclarationNumber()
499 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,
H A DPdbAstBuilder.cpp226 context = clang::TagDecl::castToDeclContext(parent_qt->getAsTagDecl()); in CreateDeclInfoForType()
345 clang::TagDecl *tag = qt->getAsTagDecl(); in CreateDeclInfoForUndecoratedName()
347 return {clang::TagDecl::castToDeclContext(tag), std::string(uname)}; in CreateDeclInfoForUndecoratedName()
425 clang::TagDecl *tag = qt->getAsTagDecl(); in CompleteType()
436 bool PdbAstBuilder::CompleteTagDecl(clang::TagDecl &tag) { in CompleteTagDecl()
530 if (clang::TagDecl *tag = class_type->getAsTagDecl()) { in CreatePointerType()
841 clang::TagDecl *tag = qt->getAsTagDecl(); in GetOrCreateType()
1024 } else if (clang::TagDecl *tag = llvm::dyn_cast<clang::TagDecl>(parent)) { in GetOrCreateFunctionDecl()
1227 return llvm::isa<clang::TagDecl>( in isTagDecl()
[all...]
H A DPdbAstBuilder.h23 class TagDecl; variable
78 bool CompleteTagDecl(clang::TagDecl &tag);
/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/CodeGen/
H A DBackendConsumer.h107 void HandleTagDeclDefinition(TagDecl *D) override;
108 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
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()
H A DCodeGenTypes.h39 class TagDecl; variable
173 void UpdateCompletedType(const TagDecl *TD);
/freebsd/contrib/llvm-project/clang/lib/Index/
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/Frontend/
H A DMultiplexConsumer.cpp91 void CompletedTagDefinition(const TagDecl *D) override;
136 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
330 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
335 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3471 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
3495 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
3498 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
3527 Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3566 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
3619 AS, AccessAttrs, /*Delayed=*/true, TagType, TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
3645 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
3652 if (auto *TD = dyn_cast_or_null<NamedDecl>(TagDecl)) in ParseCXXMemberSpecification()
3657 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
3673 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DHLSLExternalSemaSource.h49 void CompleteType(TagDecl *Tag) override;

12345