Home
last modified time | relevance | path

Searched refs:getUnqualifiedType (Results 1 – 25 of 126) sorted by relevance

123456

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DNarrowingConversionsCheck.cpp81 static QualType getUnqualifiedType(const Expr &E) { in getUnqualifiedType() function
82 return E.getType().getUnqualifiedType(); in getUnqualifiedType()
194 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowType()
201 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowTypeToSignedInt()
209 << getValueAsString(Value, /*NoHex*/ 0) << getUnqualifiedType(Rhs) in diagNarrowIntegerConstant()
210 << getUnqualifiedType(Lhs); in diagNarrowIntegerConstant()
218 << getValueAsString(Value, HexBits) << getUnqualifiedType(Rhs) in diagNarrowIntegerConstantToSignedInt()
219 << getUnqualifiedType(Lhs); in diagNarrowIntegerConstantToSignedInt()
226 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowConstant()
233 << getUnqualifiedType(Lhs) << getUnqualifiedType(Rhs); in diagConstantCast()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DAvoidCStyleCastsCheck.cpp55 return T1.getUnqualifiedType() == T2.getUnqualifiedType(); in pointedUnqualifiedTypesAreEqual()
77 CastExpr->getTypeAsWritten().getUnqualifiedType(); in check()
79 CastExpr->getSubExprAsWritten()->getType().getUnqualifiedType(); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DStaticAccessedThroughInstanceCheck.cpp64 ? BaseExpr->getType()->getPointeeType().getUnqualifiedType() in check()
65 : BaseExpr->getType().getUnqualifiedType(); in check()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DInefficientAlgorithmCheck.cpp89 Arg->getType().getUnqualifiedType().getCanonicalType(); in check()
94 .getUnqualifiedType() in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp367 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcmp()
409 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcopy()
451 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bzero()
493 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
533 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
574 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
843 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
DObjCPropertyChecker.cpp51 .getUnqualifiedType() in checkCopyMutable()
DNumberObjectConversionChecker.cpp132 QualType ObjT = Obj->getType().getUnqualifiedType(); in run()
138 ObjT->getPointeeType().getCanonicalType().getUnqualifiedType()); in run()
/external/llvm-project/clang/lib/AST/
DFormatString.cpp377 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
439 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
444 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType()
446 if (C.getCanonicalType(argTy).getUnqualifiedType() == WInt) in matchesType()
452 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
DDeclarationName.cpp312 Ty = Ty.getUnqualifiedType(); in getCXXConstructorName()
328 Ty = Ty.getUnqualifiedType(); in getCXXDestructorName()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp42 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
43 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
DSemaCast.cpp614 << DestPointee.getUnqualifiedType() << DestRange; in CheckDynamicCast()
659 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
705 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
1157 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1158 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1305 if (Paths.isAmbiguous(SrcType.getUnqualifiedType())) { in TryStaticDowncast()
1329 << QualType(SrcType).getUnqualifiedType() in TryStaticDowncast()
1330 << QualType(DestType).getUnqualifiedType() in TryStaticDowncast()
1720 if (!DT.getUnqualifiedType()->isVoidType()) in DiagnoseCastOfObjCSEL()
2309 if (DestType.getUnqualifiedType()->isVoidType()) in DiagnoseBadFunctionCast()
DSemaTemplateDeduction.cpp1010 Param = Param.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1013 Arg = Arg.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1123 DeducedType = S.Context.getQualifiedType(DeducedType.getUnqualifiedType(), in DeduceTemplateArgumentsByTypeMatch()
1180 CanQualType ParamUnqualType = CanParam.getUnqualifiedType(), in DeduceTemplateArgumentsByTypeMatch()
1181 ArgUnqualType = CanArg.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1216 Param = Param.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1217 Arg = Arg.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
2700 A = Context.getQualifiedType(A.getUnqualifiedType(), DeducedAQuals); in CheckOriginalCallArgDeduction()
3106 ParamType = ParamType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
3157 ArgType = ArgType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp41 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
42 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
DSemaOverload.cpp1357 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1359 = S.Context.getCanonicalType(ToType).getUnqualifiedType(); in TryUserDefinedConversion()
1782 FromType = FromType.getUnqualifiedType(); in IsStandardConversion()
1840 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1844 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1848 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1861 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1865 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1870 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
1892 FromType = ToType.getUnqualifiedType(); in IsStandardConversion()
[all …]
DSemaCast.cpp788 << DestPointee.getUnqualifiedType() << DestRange; in CheckDynamicCast()
833 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
879 << SrcPointee.getUnqualifiedType() << SrcExpr.get()->getSourceRange(); in CheckDynamicCast()
1384 FromType = FromType.getUnqualifiedType(); in TryLValueToRValueCast()
1385 ToType = ToType.getUnqualifiedType(); in TryLValueToRValueCast()
1535 if (Paths.isAmbiguous(SrcType.getUnqualifiedType())) { in TryStaticDowncast()
1559 << QualType(SrcType).getUnqualifiedType() in TryStaticDowncast()
1560 << QualType(DestType).getUnqualifiedType() in TryStaticDowncast()
1939 if (!DT.getUnqualifiedType()->isVoidType()) in DiagnoseCastOfObjCSEL()
2666 if (DestType.getUnqualifiedType()->isVoidType()) in DiagnoseBadFunctionCast()
/external/clang/lib/Analysis/
DFormatString.cpp332 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
392 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
402 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType()
403 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
DCocoaConventions.cpp43 if (!(PT->getPointeeType().getUnqualifiedType()->isVoidType())) in isRefType()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp323 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_gets()
363 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_getpw()
404 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_mktemp()
576 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy) in checkCall_strCommon()
/external/llvm-project/clang/lib/Analysis/
DCocoaConventions.cpp42 if (!PT || !PT->getPointeeType().getUnqualifiedType()->isVoidType()) in isRefType()
/external/llvm-project/clang/lib/ARCMigrate/
DTransProperties.cpp349 QualType ty = props[0].PropD->getType().getUnqualifiedType(); in getPropertyType()
353 assert(ty == I->PropD->getType().getUnqualifiedType()); in getPropertyType()
/external/clang/lib/ARCMigrate/
DTransProperties.cpp348 QualType ty = props[0].PropD->getType().getUnqualifiedType(); in getPropertyType()
352 assert(ty == I->PropD->getType().getUnqualifiedType()); in getPropertyType()
/external/clang/lib/AST/
DDeclarationName.cpp387 Ty.getUnqualifiedType()); in getCXXConstructorName()
392 Ty.getUnqualifiedType()); in getCXXDestructorName()
DASTContext.cpp3036 getQualifiedType(CanResultType.getUnqualifiedType(), Qs)); in getCanonicalFunctionResultType()
4560 return T.getUnqualifiedType(); in getSignatureParameterType()
4573 return T.getUnqualifiedType(); in getExceptionObjectType()
7413 QualType ET = I->getType().getUnqualifiedType(); in mergeTransparentUnionType()
7471 retType = retType.getUnqualifiedType(); in mergeFunctionTypes()
7476 LRetType = LRetType.getUnqualifiedType(); in mergeFunctionTypes()
7477 RRetType = RRetType.getUnqualifiedType(); in mergeFunctionTypes()
7535 QualType lParamType = lproto->getParamType(i).getUnqualifiedType(); in mergeFunctionTypes()
7536 QualType rParamType = rproto->getParamType(i).getUnqualifiedType(); in mergeFunctionTypes()
7543 paramType = paramType.getUnqualifiedType(); in mergeFunctionTypes()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp92 if (Paths.isAmbiguous(Context->getCanonicalType(BTy).getUnqualifiedType())) in checkOverridingFunctionReturnType()
/external/clang/include/clang/AST/
DCanonicalType.h143 CanQual<T> getUnqualifiedType() const;
599 inline CanQual<T> CanQual<T>::getUnqualifiedType() const {

123456