Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/test/AST/
H A Dattr-swift_bridged_typedef.mm7 // CHECK: TypeAliasDecl {{.*}} NSStringAlias 'NSString *'
H A Dast-dump-decl.mm84 // CHECK: TypeAliasDecl {{.+}} <{{.+}}:[[@LINE-1]]:1, col:40> col:7 TestObjCPointerWithoutStar…
87 // CHECK: TypeAliasDecl {{.+}} <{{.+}}:[[@LINE-1]]:1, col:35> col:7 TestObjCPointerWithStar 'A…
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Daddress-space-deduction.clcpp22 //CHECK: TypeAliasDecl {{.*}} alias_c1 'c1'
24 //CHECK: TypeAliasDecl {{.*}} alias_c1_ptr '__generic c1 *'
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DMisplacedConstCheck.cpp60 Result.Nodes.getNodeAs<TypeAliasDecl>("typeAlias")) { in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp83 auto *Record = TypeAliasDecl::Create(AST, HLSLNamespace, SourceLocation(), in defineHLSLVectorAlias()
H A DSemaTemplateInstantiateDecl.cpp968 Typedef = TypeAliasDecl::Create(SemaRef.Context, Owner, D->getBeginLoc(), in InstantiateTypedefNameDecl()
1019 Decl *TemplateDeclInstantiator::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
1037 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
1047 TypeAliasDecl *AliasInst = cast_or_null<TypeAliasDecl>( in VisitTypeAliasTemplateDecl()
/llvm-project-15.0.7/clang/test/AST/HLSL/
H A Dvector-alias.hlsl11 // CHECK-NEXT: TypeAliasDecl 0x{{[0-9a-fA-F]+}} <<invalid sloc>> <invalid sloc> implicit vector 'el…
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h206 bool VisitTypeAliasDecl(TypeAliasDecl *D);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DUpgradeGoogletestCaseCheck.cpp330 assert(Result.Nodes.getNodeAs<TypeAliasDecl>("test-case") != nullptr); in check()
/llvm-project-15.0.7/clang/lib/AST/
H A DComment.cpp338 if (TypeAliasDecl *TAD = TAT->getTemplatedDecl()) in fill()
H A DDecl.cpp5139 TypeAliasDecl *TypeAliasDecl::Create(ASTContext &C, DeclContext *DC, in Create()
5143 return new (C, DC) TypeAliasDecl(C, DC, StartLoc, IdLoc, Id, TInfo); in Create()
5146 TypeAliasDecl *TypeAliasDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
5147 return new (C, ID) TypeAliasDecl(C, nullptr, SourceLocation(), in CreateDeserialized()
5160 SourceRange TypeAliasDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp63 void VisitTypeAliasDecl(TypeAliasDecl *D);
520 void DeclPrinter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DODRHash.cpp360 void VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DDeclBase.cpp237 if (auto *AD = dyn_cast<TypeAliasDecl>(this)) in getDescribedTemplate()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTextNodeDumper.h349 void VisitTypeAliasDecl(const TypeAliasDecl *D);
H A DJSONNodeDumper.h234 void VisitTypeAliasDecl(const TypeAliasDecl *TAD);
H A DDecl.h3340 class TypeAliasDecl : public TypedefNameDecl {
3344 TypeAliasDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in TypeAliasDecl() function
3350 static TypeAliasDecl *Create(ASTContext &C, DeclContext *DC,
3353 static TypeAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DASTNodeTraverser.h542 void VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
H A DDeclTemplate.h2567 TypeAliasDecl *getTemplatedDecl() const {
2568 return static_cast<TypeAliasDecl *>(TemplatedDecl);
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp330 void VisitTypeAliasDecl(TypeAliasDecl *TD);
712 void ASTDeclReader::VisitTypeAliasDecl(TypeAliasDecl *TD) { in VisitTypeAliasDecl()
2701 if (auto *DAlias = dyn_cast<TypeAliasDecl>(DPattern)) in mergeTemplatePattern()
3577 D = TypeAliasDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp69 void VisitTypeAliasDecl(TypeAliasDecl *D);
404 void ASTDeclWriter::VisitTypeAliasDecl(TypeAliasDecl *D) { in VisitTypeAliasDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A DMove.cpp198 Result.Nodes.getNodeAs<TypeAliasDecl>("type_alias")) { in run()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp731 const internal::VariadicDynCastAllOfMatcher<Decl, TypeAliasDecl> typeAliasDecl;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp1082 if (isa<TypeAliasDecl>(D) && NamingStyles[SK_TypeAlias]) in findStyleKind()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1577 bool WalkUpFromTypeAliasDecl(TypeAliasDecl *S) { in WalkUpFromTypeAliasDecl()

12