/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | NarrowingConversionsCheck.cpp | 81 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/ |
D | AvoidCStyleCastsCheck.cpp | 55 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/ |
D | StaticAccessedThroughInstanceCheck.cpp | 64 ? BaseExpr->getType()->getPointeeType().getUnqualifiedType() in check() 65 : BaseExpr->getType().getUnqualifiedType(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientAlgorithmCheck.cpp | 89 Arg->getType().getUnqualifiedType().getCanonicalType(); in check() 94 .getUnqualifiedType() in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 367 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()
|
D | ObjCPropertyChecker.cpp | 51 .getUnqualifiedType() in checkCopyMutable()
|
D | NumberObjectConversionChecker.cpp | 132 QualType ObjT = Obj->getType().getUnqualifiedType(); in run() 138 ObjT->getPointeeType().getCanonicalType().getUnqualifiedType()); in run()
|
/external/llvm-project/clang/lib/AST/ |
D | FormatString.cpp | 377 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()
|
D | DeclarationName.cpp | 312 Ty = Ty.getUnqualifiedType(); in getCXXConstructorName() 328 Ty = Ty.getUnqualifiedType(); in getCXXDestructorName()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 42 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple() 43 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
|
D | SemaCast.cpp | 614 << 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()
|
D | SemaTemplateDeduction.cpp | 1010 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/ |
D | SemaFixItUtils.cpp | 41 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple() 42 const CanQualType ToUnq = To.getUnqualifiedType(); in compareTypesSimple()
|
D | SemaOverload.cpp | 1357 = 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 …]
|
D | SemaCast.cpp | 788 << 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/ |
D | FormatString.cpp | 332 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()
|
D | CocoaConventions.cpp | 43 if (!(PT->getPointeeType().getUnqualifiedType()->isVoidType())) in isRefType()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 323 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/ |
D | CocoaConventions.cpp | 42 if (!PT || !PT->getPointeeType().getUnqualifiedType()->isVoidType()) in isRefType()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 349 QualType ty = props[0].PropD->getType().getUnqualifiedType(); in getPropertyType() 353 assert(ty == I->PropD->getType().getUnqualifiedType()); in getPropertyType()
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 348 QualType ty = props[0].PropD->getType().getUnqualifiedType(); in getPropertyType() 352 assert(ty == I->PropD->getType().getUnqualifiedType()); in getPropertyType()
|
/external/clang/lib/AST/ |
D | DeclarationName.cpp | 387 Ty.getUnqualifiedType()); in getCXXConstructorName() 392 Ty.getUnqualifiedType()); in getCXXDestructorName()
|
D | ASTContext.cpp | 3036 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/ |
D | VirtualNearMissCheck.cpp | 92 if (Paths.isAmbiguous(Context->getCanonicalType(BTy).getUnqualifiedType())) in checkOverridingFunctionReturnType()
|
/external/clang/include/clang/AST/ |
D | CanonicalType.h | 143 CanQual<T> getUnqualifiedType() const; 599 inline CanQual<T> CanQual<T>::getUnqualifiedType() const {
|