Home
last modified time | relevance | path

Searched refs:QType (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DStaticAccessedThroughInstanceCheck.cpp20 static unsigned getNameSpecifierNestingLevel(const QualType &QType) { in getNameSpecifierNestingLevel() argument
21 if (const ElaboratedType *ElType = QType->getAs<ElaboratedType>()) { in getNameSpecifierNestingLevel()
H A DQualifiedAutoCheck.cpp90 bool isPointerConst(QualType QType) { in isPointerConst() argument
91 QualType Pointee = QType->getPointeeType(); in isPointerConst()
96 bool isAutoPointerConst(QualType QType) { in isAutoPointerConst() argument
98 cast<AutoType>(QType->getPointeeType().getTypePtr())->desugar(); in isAutoPointerConst()
H A DIdentifierNamingCheck.cpp992 auto IsCharPtrPtr = [](QualType QType) -> MainType { in isParamInMainLikeFunction() argument
993 if (QType.isNull()) in isParamInMainLikeFunction()
995 if (QType = QType->getPointeeType(), QType.isNull()) in isParamInMainLikeFunction()
997 if (QType = QType->getPointeeType(), QType.isNull()) in isParamInMainLikeFunction()
999 if (QType->isCharType()) in isParamInMainLikeFunction()
1001 if (QType->isWideCharType()) in isParamInMainLikeFunction()
1005 auto IsIntType = [](QualType QType) { in isParamInMainLikeFunction() argument
1006 if (QType.isNull()) in isParamInMainLikeFunction()
1009 dyn_cast<BuiltinType>(QType->getUnqualifiedDesugaredType())) { in isParamInMainLikeFunction()
/llvm-project-15.0.7/clang/test/Index/
H A Dusrs.cpp6 typedef int QType; typedef
7 void bar(QType z);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp136 QualType QType = TL.getType(); in VisitTypeLoc() local
139 if (QType.getAsString() == Name) { in VisitTypeLoc()
146 if (const IdentifierInfo *Ident = QType.getBaseTypeIdentifier()) { in VisitTypeLoc()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp5531 auto *QType = in getObjCObjectPointerType() local
5534 Types.push_back(QType); in getObjCObjectPointerType()
5535 ObjCObjectPointerTypes.InsertNode(QType, InsertPos); in getObjCObjectPointerType()
5536 return QualType(QType, 0); in getObjCObjectPointerType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp3093 QualType QType = QualType(Qualifier->getAsType(), 0); in PerformObjectMemberConversion() local
3094 assert(QType->isRecordType() && "lookup done with non-record type"); in PerformObjectMemberConversion()
3096 QualType QRecordType = QualType(QType->castAs<RecordType>(), 0); in PerformObjectMemberConversion()
3108 QType = Context.getPointerType(QType); in PerformObjectMemberConversion()
3109 From = ImpCastExprToType(From, QType, CK_UncheckedDerivedToBase, in PerformObjectMemberConversion()
3112 FromType = QType; in PerformObjectMemberConversion()
H A DSemaOpenMP.cpp3154 QualType QType = VD->getType(); in CheckOMPThreadPrivateDecl() local
3155 if (QType->isDependentType() || QType->isInstantiationDependentType()) { in CheckOMPThreadPrivateDecl()
19890 QualType QType = D->getType(); in ActOnOpenMPAlignedClause() local
19896 QType = QType.getNonReferenceType().getUnqualifiedType().getCanonicalType(); in ActOnOpenMPAlignedClause()
19897 const Type *Ty = QType.getTypePtrOrNull(); in ActOnOpenMPAlignedClause()
19900 << QType << getLangOpts().CPlusPlus << ERange; in ActOnOpenMPAlignedClause()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp10508 static bool appendType(SmallStringEnc &Enc, QualType QType,
10779 static bool appendType(SmallStringEnc &Enc, QualType QType, in appendType() argument
10783 QualType QT = QType.getCanonicalType(); in appendType()