Home
last modified time | relevance | path

Searched refs:TypedefTy (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp25 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getUnderlyingTypeDecl() local
26 if (TypedefTy) in getUnderlyingTypeDecl()
27 TypeDecl = TypedefTy->getDecl(); in getUnderlyingTypeDecl()
35 if (TypeDecl && TypedefTy) { in getUnderlyingTypeDecl()
39 const TypedefNameDecl *TypedefDecl = TypedefTy->getDecl(); in getUnderlyingTypeDecl()
55 const TypedefType *TypedefTy = Type->getAs<TypedefType>(); in getSymbolReferenceForType() local
58 if (!TypedefTy) in getSymbolReferenceForType()
H A DDeclarationFragments.cpp256 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(T)) { in getFragmentsForType() local
257 const TypedefNameDecl *Decl = TypedefTy->getDecl(); in getFragmentsForType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp8122 if (const TypedefType* TypedefTy = CurType->getAs<TypedefType>()) { in HandleOpenCLAccessAttr() local
8123 QualType BaseTy = TypedefTy->desugar(); in HandleOpenCLAccessAttr()
8127 if (TypedefTy->getDecl()->hasAttr<OpenCLAccessAttr>()) { in HandleOpenCLAccessAttr()
8129 TypedefTy->getDecl()->getAttr<OpenCLAccessAttr>(); in HandleOpenCLAccessAttr()
8158 S.Diag(TypedefTy->getDecl()->getBeginLoc(), in HandleOpenCLAccessAttr()
H A DSemaChecking.cpp10239 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(ExprTy)) in checkFormatExpr() local
10240 Name = TypedefTy->getDecl()->getName(); in checkFormatExpr()