Home
last modified time | relevance | path

Searched refs:TypeAliasDecl (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp330 : cast<TypeAliasDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
347 TypeAliasDecl *TAD = TAT->getTemplatedDecl(); in fill()
H A DDecl.cpp4996 TypeAliasDecl *TypeAliasDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5000 return new (C, DC) TypeAliasDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create()
5003 TypeAliasDecl *TypeAliasDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5004 return new (C, ID) TypeAliasDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
5017 SourceRange TypeAliasDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp63 void VisitTypeAliasDecl(TypeAliasDecl *D);
519 void DeclPrinter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DODRHash.cpp359 void VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DDeclBase.cpp237 if (auto *AD = dyn_cast<TypeAliasDecl>(this)) in getDescribedTemplate()
H A DJSONNodeDumper.cpp760 void JSONNodeDumper::VisitTypeAliasDecl(const TypeAliasDecl *TAD) { in VisitTypeAliasDecl()
H A DTextNodeDumper.cpp1895 void TextNodeDumper::VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DASTImporter.cpp504 ExpectedDecl VisitTypeAliasDecl(TypeAliasDecl *D);
2569 if (GetImportedOrCreateDecl<TypeAliasDecl>( in VisitTypedefNameDecl()
2589 TypeAliasDecl *FromAlias = IsAlias ? cast<TypeAliasDecl>(D) : nullptr; in VisitTypedefNameDecl()
2600 ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DMicrosoftMangle.cpp1648 } else if (isa<TypeAliasDecl>(ND)) { in mangleTemplateArg()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h345 void VisitTypeAliasDecl(const TypeAliasDecl *D);
H A DJSONNodeDumper.h234 void VisitTypeAliasDecl(const TypeAliasDecl *TAD);
H A DDecl.h3289 class TypeAliasDecl : public TypedefNameDecl {
3293 TypeAliasDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in TypeAliasDecl() function
3299 static TypeAliasDecl *Create(ASTContext &C, DeclContext *DC,
3302 static TypeAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DASTNodeTraverser.h535 void VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DDeclTemplate.h2537 TypeAliasDecl *getTemplatedDecl() const {
2538 return static_cast<TypeAliasDecl *>(TemplatedDecl);
H A DRecursiveASTVisitor.h1835 DEF_TRAVERSE_DECL(TypeAliasDecl, {
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp915 Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(), in InstantiateTypedefNameDecl()
965 Decl *TemplateDeclInstantiator::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
983 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
993 TypeAliasDecl *AliasInst = cast_or_null<TypeAliasDecl>( in VisitTypeAliasTemplateDecl()
H A DSema.cpp991 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings()
H A DSemaDecl.cpp2256 int Kind = isa<TypeAliasDecl>(Old) ? 1 : 0; in isIncompatibleTypedef()
2269 int Kind = isa<TypeAliasDecl>(Old) ? 1 : 0; in isIncompatibleTypedef()
4595 << isa<TypeAliasDecl>(NewTD) in setTagNameForLinkagePurposes()
4602 << NewTD << isa<TypeAliasDecl>(NewTD); in setTagNameForLinkagePurposes()
7596 if (isa<TypeAliasDecl>(ShadowedDecl)) in computeShadowedDeclKind()
15318 else if (isa<TypeAliasDecl>(PrevDecl)) in getNonTagTypeDeclKind()
16208 if (isa<TypeAliasDecl>(PrevDecl)) Kind = 1; in ActOnTag()
H A DSemaTemplate.cpp2109 if (isa<TypeAliasDecl>(OrigDecl)) in TransformTypedefType()
2110 Decl = TypeAliasDecl::Create( in TransformTypedefType()
3697 TypeAliasDecl *Pattern = AliasTemplate->getTemplatedDecl(); in CheckTemplateIdType()
H A DSemaDeclCXX.cpp10422 << DeclaratorType << isa<TypeAliasDecl>(TT->getDecl()); in CheckDestructorDeclarator()
12793 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, in ActOnAliasDeclaration()
12854 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp731 const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasDecl> typeAliasDecl;
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp329 void VisitTypeAliasDecl(TypeAliasDecl *TD);
698 void ASTDeclReader::VisitTypeAliasDecl(TypeAliasDecl *TD) { in VisitTypeAliasDecl()
2593 if (auto *DAlias = dyn_cast<TypeAliasDecl>(DPattern)) in mergeTemplatePattern()
3830 D = TypeAliasDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp69 void VisitTypeAliasDecl(TypeAliasDecl *D);
403 void ASTDeclWriter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1572 bool WalkUpFromTypeAliasDecl(TypeAliasDecl *S) { in WalkUpFromTypeAliasDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h216 extern const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasDecl>

12