Home
last modified time | relevance | path

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

123456

/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.cpp179 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 DExternalASTMerger.cpp226 if (auto *ToTag = dyn_cast<TagDecl>(To)) { in Imported()
303 void ExternalASTMerger::CompleteType(TagDecl *Tag) { in CompleteType()
307 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get())); in CompleteType()
356 if (auto *T1 = dyn_cast<TagDecl>(D1)) in IsSameDC()
357 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 DASTMutationListener.h38 class TagDecl; variable
53 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
H A DDecl.h75 class TagDecl; variable
3603 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
3673 class TagDecl : public TypeDecl,
3675 public Redeclarable<TagDecl> {
3706 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3707 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
3710 using redeclarable_base = Redeclarable<TagDecl>;
3712 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3716 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3720 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
[all …]
/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 DClangUtil.h20 class TagDecl; variable
37 static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
H A DClangASTImporter.cpp264 if (auto *tag_decl = dyn_cast<TagDecl>(decl)) { in ~CompleteTagDeclsScope()
265 if (auto *original_tag_decl = dyn_cast<TagDecl>(original_decl)) { in ~CompleteTagDeclsScope()
289 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
795 bool ClangASTImporter::CompleteTagDecl(clang::TagDecl *decl) { in CompleteTagDecl()
815 bool ClangASTImporter::CompleteTagDeclWithOrigin(clang::TagDecl *decl, in CompleteTagDeclWithOrigin()
816 clang::TagDecl *origin_decl) { in CompleteTagDeclWithOrigin()
863 TagDecl *tag_decl = tag_type->getDecl(); in CompleteAndFetchChildren()
876 TagDecl *origin_tag_decl = llvm::dyn_cast<TagDecl>(decl_origin.decl); in CompleteAndFetchChildren()
931 TagDecl *tag_decl = tag_type->getDecl(); in RequireCompleteType()
1119 auto *td = dyn_cast<TagDecl>(From); in ImportImpl()
[all …]
H A DClangASTSource.h150 void CompleteType(clang::TagDecl *Tag) override;
229 void CompleteType(clang::TagDecl *Tag) override { in CompleteType()
380 clang::TagDecl *FindCompleteType(const clang::TagDecl *decl);
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.cpp319 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
482 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
500 return isa<TagDecl, BlockDecl>(D); in needsAnonymousDeclarationNumber()
509 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>(&context); in isTagDecl()
1395 if (auto *tag = llvm::dyn_cast<clang::TagDecl>(&context)) { in ParseDeclsForSimpleContext()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DMultiplexConsumer.h66 void HandleTagDeclDefinition(TagDecl *D) override;
67 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHeuristicResolver.cpp52 TagDecl *resolveTypeToTagDecl(QualType T);
126 TagDecl *HeuristicResolverImpl::resolveTypeToTagDecl(QualType QT) { in resolveTypeToTagDecl()
143 TagDecl *TD = TT->getDecl(); in resolveTypeToTagDecl()
444 TagDecl *TD = resolveTypeToTagDecl(Specifier->getType()); in findOrdinaryMemberInDependentClasses()
487 TagDecl *TD = resolveTypeToTagDecl(QT); in resolveDependentMember()
604 TagDecl *HeuristicResolver::resolveTypeToTagDecl(QualType T) const { in resolveTypeToTagDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp80 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
209 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
223 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
234 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DBackendConsumer.h91 void HandleTagDeclDefinition(TagDecl *D) override;
92 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()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.h25 class TagDecl; variable
104 void indexTagDecl(const TagDecl *D, ArrayRef<SymbolRelation> Relations = {});
H A DIndexTypeSourceInfo.cpp64 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
120 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
285 void IndexingContext::indexTagDecl(const TagDecl *D, in indexTagDecl()
/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/Parse/
H A DParseDeclCXX.cpp3375 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
3397 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
3400 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
3429 Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3468 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
3521 AS, AccessAttrs, /*Delayed=*/true, TagType, TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
3523 return ParseOpenACCDirectiveDecl(AS, AccessAttrs, TagType, TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
3541 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
3548 if (auto *TD = dyn_cast_or_null<NamedDecl>(TagDecl)) in ParseCXXMemberSpecification()
3553 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DHLSLExternalSemaSource.h42 void CompleteType(TagDecl *Tag) override;

123456