/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | VirtualNearMissCheck.cpp | 45 .getCanonicalType(); in checkOverridingFunctionReturnType() 49 .getCanonicalType(); in checkOverridingFunctionReturnType() 68 QualType DTy = DerivedReturnTy->getPointeeType().getCanonicalType(); in checkOverridingFunctionReturnType() 69 QualType BTy = BaseReturnTy->getPointeeType().getCanonicalType(); in checkOverridingFunctionReturnType() 92 if (Paths.isAmbiguous(Context->getCanonicalType(BTy).getUnqualifiedType())) in checkOverridingFunctionReturnType() 139 if (getDecayedType(BaseMD->getParamDecl(I)->getType().getCanonicalType()) != in checkParamTypes() 141 DerivedMD->getParamDecl(I)->getType().getCanonicalType())) in checkParamTypes()
|
D | StringIntegerAssignmentCheck.cpp | 121 return E->getType().getCanonicalType().getTypePtr() == in isCharTyped() 133 Result.Nodes.getNodeAs<QualType>("type")->getCanonicalType(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ReturnBracedInitListCheck.cpp | 56 MatchedFunctionDecl->getReturnType().getCanonicalType(); in check() 58 MatchedConstructExpr->getType().getCanonicalType(); in check() 77 if (MatchedConstructExpr->getArg(I)->getType().getCanonicalType() != in check() 78 VD->getType().getCanonicalType()) in check()
|
/external/llvm-project/clang/lib/Analysis/ |
D | ConstructionContext.cpp | 54 if (!BTE && !(MTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createMaterializedTemporaryFromLayers() 111 assert(!cast<VarDecl>(DS->getSingleDecl())->getType().getCanonicalType() in createBoundTemporaryFromLayers() 121 assert(!RS->getRetValue()->getType().getCanonicalType() in createBoundTemporaryFromLayers() 154 assert(!I->getAnyMember()->getType().getCanonicalType() in createBoundTemporaryFromLayers() 193 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createFromLayers()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 36 From = S.Context.getCanonicalType( in compareTypesSimple() 38 To = S.Context.getCanonicalType( in compareTypesSimple() 58 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion() 59 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion() 98 S.Context.getCanonicalType(FromPtrTy->getPointeeType()), ToQTy, in tryToFixConversion()
|
D | SemaCast.cpp | 509 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness() 510 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness() 583 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast() 623 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() 1005 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast() 1219 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast() 1220 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast() 1251 Self.Context.getCanonicalType(SrcPointer->getPointeeType()), in TryStaticPointerDowncast() 1252 Self.Context.getCanonicalType(DestPointer->getPointeeType()), in TryStaticPointerDowncast() 1422 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 35 From = S.Context.getCanonicalType( in compareTypesSimple() 37 To = S.Context.getCanonicalType( in compareTypesSimple() 57 const CanQualType FromQTy = S.Context.getCanonicalType(FromTy); in tryToFixConversion() 58 const CanQualType ToQTy = S.Context.getCanonicalType(ToTy); in tryToFixConversion() 97 S.Context.getCanonicalType(FromPtrTy->getPointeeType()), ToQTy, in tryToFixConversion()
|
D | SemaCast.cpp | 647 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness() 648 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness() 757 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast() 797 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() 1222 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast() 1449 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast() 1450 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast() 1481 Self.Context.getCanonicalType(SrcPointer->getPointeeType()), in TryStaticPointerDowncast() 1482 Self.Context.getCanonicalType(DestPointer->getPointeeType()), in TryStaticPointerDowncast() 1652 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | InheritViz.cpp | 63 QualType CanonType = Context.getCanonicalType(Type); in WriteNode() 96 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode() 126 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
|
D | ASTContext.cpp | 689 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); in Profile() 695 ID.AddPointer(T.getCanonicalType().getAsOpaquePtr()); in Profile() 810 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl() 817 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl() 1444 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes() 2901 QualType CanT = getCanonicalType(T); in getAddrSpaceQualType() 2955 QualType CanT = getCanonicalType(T); in getObjCGCQualType() 3132 Canonical = getComplexType(getCanonicalType(T)); in getComplexType() 3160 Canonical = getPointerType(getCanonicalType(T)); in getPointerType() 3180 QualType Canonical = getCanonicalType(New); in getAdjustedType() [all …]
|
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()
|
/external/clang/lib/AST/ |
D | InheritViz.cpp | 64 QualType CanonType = Context.getCanonicalType(Type); in WriteNode() 97 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode() 127 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
|
D | ASTContext.cpp | 569 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); in Profile() 575 ID.AddPointer(T.getCanonicalType().getAsOpaquePtr()); in Profile() 617 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl() 624 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl() 2179 QualType CanT = getCanonicalType(T); in getAddrSpaceQualType() 2199 QualType CanT = getCanonicalType(T); in getObjCGCQualType() 2331 Canonical = getComplexType(getCanonicalType(T)); in getComplexType() 2359 Canonical = getPointerType(getCanonicalType(T)); in getPointerType() 2379 QualType Canonical = getCanonicalType(New); in getAdjustedType() 2419 QualType Canonical = getCanonicalType(Decayed); in getDecayedType() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientAlgorithmCheck.cpp | 82 IneffCont->getTemplateArgs()[0].getAsType().getCanonicalType(); in check() 89 Arg->getType().getUnqualifiedType().getCanonicalType(); in check() 95 .getCanonicalType(); in check()
|
D | UnnecessaryValueParamCheck.cpp | 107 Param->getType().getCanonicalType().isConstQualified(); in check() 118 auto CanonicalType = Param->getType().getCanonicalType(); in check() 166 if (!CurrentParam.getType().getCanonicalType().isConstQualified()) { in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidCStyleCastsCheck.cpp | 71 T = T.getCanonicalType().getNonReferenceType(); in check() 80 const QualType SourceType = SourceTypeAsWritten.getCanonicalType(); in check() 81 const QualType DestType = DestTypeAsWritten.getCanonicalType(); in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 97 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 106 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 180 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 181 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 398 return ty1->getPointeeType().getCanonicalType().getTypePtr() == in hasSameUnqualifiedPointeeType() 399 ty2->getPointeeType().getCanonicalType().getTypePtr(); in hasSameUnqualifiedPointeeType()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 102 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() 217 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() 246 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() 298 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 122 QualType CanonicalType = Type.getCanonicalType(); in isTriviallyDefaultConstructible() 146 if (Type.getCanonicalType()->isDependentType()) in isTriviallyDestructible()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in VisitCastExpr() 43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr()
|
D | VLASizeChecker.cpp | 263 TypeToCheck = VD->getType().getCanonicalType(); in checkPreStmt() 265 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt() 320 UETTE->getTypeOfArgument().getCanonicalType()); in checkPreStmt()
|
D | MallocSizeofChecker.cpp | 143 A = A.getCanonicalType(); in typesCompatible() 144 B = B.getCanonicalType(); in typesCompatible()
|
D | ObjCPropertyChecker.cpp | 50 const std::string &PropTypeName(T->getPointeeType().getCanonicalType() in checkCopyMutable()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 86 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 95 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 167 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 168 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocSizeofChecker.cpp | 144 A = A.getCanonicalType(); in typesCompatible() 145 B = B.getCanonicalType(); in typesCompatible()
|