Home
last modified time | relevance | path

Searched refs:getCanonicalType (Results 1 – 25 of 233) sorted by relevance

12345678910

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DVirtualNearMissCheck.cpp45 .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()
DStringIntegerAssignmentCheck.cpp121 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/
DReturnBracedInitListCheck.cpp56 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/
DConstructionContext.cpp54 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/
DSemaFixItUtils.cpp36 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()
DSemaCast.cpp509 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/
DSemaFixItUtils.cpp35 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()
DSemaCast.cpp647 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/
DInheritViz.cpp63 QualType CanonType = Context.getCanonicalType(Type); in WriteNode()
96 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode()
126 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
DASTContext.cpp689 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 …]
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()
/external/clang/lib/AST/
DInheritViz.cpp64 QualType CanonType = Context.getCanonicalType(Type); in WriteNode()
97 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode()
127 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
DASTContext.cpp569 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/
DInefficientAlgorithmCheck.cpp82 IneffCont->getTemplateArgs()[0].getAsType().getCanonicalType(); in check()
89 Arg->getType().getUnqualifiedType().getCanonicalType(); in check()
95 .getCanonicalType(); in check()
DUnnecessaryValueParamCheck.cpp107 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/
DAvoidCStyleCastsCheck.cpp71 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/
DStore.cpp97 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/
DCodeGenTBAA.cpp102 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/
DTypeTraits.cpp122 QualType CanonicalType = Type.getCanonicalType(); in isTriviallyDefaultConstructible()
146 if (Type.getCanonicalType()->isDependentType()) in isTriviallyDestructible()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in VisitCastExpr()
43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr()
DVLASizeChecker.cpp263 TypeToCheck = VD->getType().getCanonicalType(); in checkPreStmt()
265 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt()
320 UETTE->getTypeOfArgument().getCanonicalType()); in checkPreStmt()
DMallocSizeofChecker.cpp143 A = A.getCanonicalType(); in typesCompatible()
144 B = B.getCanonicalType(); in typesCompatible()
DObjCPropertyChecker.cpp50 const std::string &PropTypeName(T->getPointeeType().getCanonicalType() in checkCopyMutable()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp86 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/
DMallocSizeofChecker.cpp144 A = A.getCanonicalType(); in typesCompatible()
145 B = B.getCanonicalType(); in typesCompatible()

12345678910