Home | History | Annotate | Download | only in AST

Lines Matching refs:Ty

28     const Type *Ty = QC.strip(QT);
31 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) {
36 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
42 dyn_cast<SubstTemplateTypeParmType>(Ty)) {
47 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
52 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
61 = dyn_cast<TemplateSpecializationType>(Ty))
66 if (QualType(Ty,0) == Context.getObjCIdType() ||
67 QualType(Ty,0) == Context.getObjCClassType() ||
68 QualType(Ty,0) == Context.getObjCSelType() ||
69 QualType(Ty,0) == Context.getObjCProtoType())
73 if (QualType(Ty,0) == Context.getBuiltinVaListType())
79 switch (Ty->getTypeClass()) {
83 const Class##Type *CTy = cast<Class##Type>(Ty); \
115 if (const PointerType *Ty = QT->getAs<PointerType>()) {
116 QT = Context.getPointerType(Desugar(Context, Ty->getPointeeType(),
118 } else if (const LValueReferenceType *Ty = QT->getAs<LValueReferenceType>()) {
119 QT = Context.getLValueReferenceType(Desugar(Context, Ty->getPointeeType(),
121 } else if (const RValueReferenceType *Ty = QT->getAs<RValueReferenceType>()) {
122 QT = Context.getRValueReferenceType(Desugar(Context, Ty->getPointeeType(),
150 /// \param Ty the type to print
154 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty,
160 QualType CanTy = Ty.getCanonicalType();
161 std::string S = Ty.getAsString(Context.getPrintingPolicy());
168 if (CompareTy == Ty)
192 if (PrevTy == Ty) {
203 QualType DesugaredTy = Desugar(Context, Ty, ShouldAKA);
205 if (DesugaredTy == Ty) {
206 DesugaredTy = Ty.getCanonicalType();
243 QualType Ty(QualType::getFromOpaquePtr(reinterpret_cast<void*>(Val)));
244 S = ConvertTypeToDiagnosticString(Context, Ty, PrevArgs, NumPrevArgs,