Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DComment.cpp316 : cast<TypeAliasDecl>(CommentDecl)->getTypeSourceInfo(); in fill()
333 TypeAliasDecl *TAD = TAT->getTemplatedDecl(); in fill()
H A DDecl.cpp4571 TypeAliasDecl *TypeAliasDecl::Create(ASTContext &C, DeclContext *DC, in Create()
4575 return new (C, DC) TypeAliasDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create()
4578 TypeAliasDecl *TypeAliasDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
4579 return new (C, ID) TypeAliasDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
4592 SourceRange TypeAliasDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp63 void VisitTypeAliasDecl(TypeAliasDecl *D);
496 void DeclPrinter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DASTDumper.cpp244 void VisitTypeAliasDecl(const TypeAliasDecl *D);
825 void ASTDumper::VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DODRHash.cpp354 void VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DASTImporter.cpp463 ExpectedDecl VisitTypeAliasDecl(TypeAliasDecl *D);
2335 if (GetImportedOrCreateDecl<TypeAliasDecl>( in VisitTypedefNameDecl()
2348 TypeAliasDecl *FromAlias = IsAlias ? cast<TypeAliasDecl>(D) : nullptr; in VisitTypedefNameDecl()
2359 ExpectedDecl ASTNodeImporter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
2400 TypeAliasDecl *ToTemplatedDecl; in VisitTypeAliasTemplateDecl()
H A DDeclBase.cpp237 else if (auto *AD = dyn_cast<TypeAliasDecl>(this)) in getDescribedTemplate()
H A DMicrosoftMangle.cpp1508 } else if (isa<TypeAliasDecl>(ND)) { in mangleTemplateArg()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h3038 class TypeAliasDecl : public TypedefNameDecl {
3042 TypeAliasDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in TypeAliasDecl() function
3048 static TypeAliasDecl *Create(ASTContext &C, DeclContext *DC,
3051 static TypeAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DDeclTemplate.h2350 TypeAliasDecl *getTemplatedDecl() const {
2351 return static_cast<TypeAliasDecl *>(TemplatedDecl);
H A DRecursiveASTVisitor.h1772 DEF_TRAVERSE_DECL(TypeAliasDecl, {
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp588 Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(), in InstantiateTypedefNameDecl()
635 Decl *TemplateDeclInstantiator::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
653 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
663 TypeAliasDecl *AliasInst = cast_or_null<TypeAliasDecl>( in VisitTypeAliasTemplateDecl()
H A DSema.cpp829 << isa<TypeAliasDecl>(TD) << TD->getDeclName(); in emitAndClearUnusedLocalTypedefWarnings()
H A DSemaDecl.cpp2077 int Kind = isa<TypeAliasDecl>(Old) ? 1 : 0; in isIncompatibleTypedef()
2090 int Kind = isa<TypeAliasDecl>(Old) ? 1 : 0; in isIncompatibleTypedef()
6939 if (isa<TypeAliasDecl>(ShadowedDecl)) in computeShadowedDeclKind()
13803 else if (isa<TypeAliasDecl>(PrevDecl)) in getNonTagTypeDeclKind()
14695 if (isa<TypeAliasDecl>(PrevDecl)) Kind = 1; in ActOnTag()
H A DSemaDeclCXX.cpp8319 << DeclaratorType << isa<TypeAliasDecl>(TT->getDecl()); in CheckDestructorDeclarator()
10527 TypeAliasDecl *NewTD = TypeAliasDecl::Create(Context, CurContext, UsingLoc, in ActOnAliasDeclaration()
10588 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration()
H A DSemaTemplate.cpp3176 TypeAliasDecl *Pattern = AliasTemplate->getTemplatedDecl(); in CheckTemplateIdType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp558 const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasDecl> typeAliasDecl;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp335 void VisitTypeAliasDecl(TypeAliasDecl *TD);
690 void ASTDeclReader::VisitTypeAliasDecl(TypeAliasDecl *TD) { in VisitTypeAliasDecl()
2540 if (auto *DAlias = dyn_cast<TypeAliasDecl>(DPattern)) in mergeTemplatePattern()
3644 D = TypeAliasDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp70 void VisitTypeAliasDecl(TypeAliasDecl *D);
395 void ASTDeclWriter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h217 extern const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasDecl>
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h182 class TypeAliasDecl; variable