Lines Matching defs:QT
458 static void appendQualifier(SmallStringEnc &Enc, QualType QT) {
462 if (QT.isConstQualified())
464 if (QT.isRestrictQualified())
466 if (QT.isVolatileQualified())
542 static bool appendArrayType(SmallStringEnc &Enc, QualType QT,
555 appendQualifier(Enc, QT);
602 QualType QT = QType.getCanonicalType();
604 if (const ArrayType *AT = QT->getAsArrayTypeUnsafe())
607 return appendArrayType(Enc, QT, AT, CGM, TSC, "");
609 appendQualifier(Enc, QT);
611 if (const BuiltinType *BT = QT->getAs<BuiltinType>())
614 if (const PointerType *PT = QT->getAs<PointerType>())
617 if (const EnumType *ET = QT->getAs<EnumType>())
618 return appendEnumType(Enc, ET, TSC, QT.getBaseTypeIdentifier());
620 if (const RecordType *RT = QT->getAsStructureType())
621 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());
623 if (const RecordType *RT = QT->getAsUnionType())
624 return appendRecordType(Enc, RT, CGM, TSC, QT.getBaseTypeIdentifier());
626 if (const FunctionType *FT = QT->getAs<FunctionType>())
647 QualType QT = VD->getType().getCanonicalType();
648 if (const ArrayType *AT = QT->getAsArrayTypeUnsafe()) {
652 return appendArrayType(Enc, QT, AT, CGM, TSC, "*");
654 return appendType(Enc, QT, CGM, TSC);