Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp19 auto SrcType = Src.getType().getCanonicalType().getUnqualifiedType(); in copyRecord()
20 auto DstType = Dst.getType().getCanonicalType().getUnqualifiedType(); in copyRecord()
78 if (Loc2.getType().getCanonicalType().getUnqualifiedType() != in recordsEqual()
79 Loc1.getType().getCanonicalType().getUnqualifiedType()) { in recordsEqual()
84 assert(Loc2.getType().getCanonicalType().getUnqualifiedType() == in recordsEqual()
85 Loc1.getType().getCanonicalType().getUnqualifiedType()); in recordsEqual()
H A DTransfer.cpp532 .getCanonicalType() in VisitCXXOperatorCallExpr()
534 LocDst->getType().getCanonicalType().getUnqualifiedType()) in VisitCXXOperatorCallExpr()
675 assert(Base.getType().getCanonicalType() == in VisitInitListExpr()
676 Init->getType().getCanonicalType()); in VisitInitListExpr()
694 Field->getType().getCanonicalType().getUnqualifiedType() == in VisitInitListExpr()
695 Init->getType().getCanonicalType().getUnqualifiedType() || in VisitInitListExpr()
698 Field->getType().getCanonicalType()->getPointeeType() == in VisitInitListExpr()
699 Init->getType().getCanonicalType())); in VisitInitListExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp52 const QualType Arg1Ty = Call.getArgExpr(0)->getType().getCanonicalType(); in isCharToStringCtor()
53 const QualType Arg2Ty = Call.getArgExpr(1)->getType().getCanonicalType(); in isCharToStringCtor()
60 if (Arg2Ty.getCanonicalType() == ACtx.getSizeType()) in isCharToStringCtor()
H A DCastToStructChecker.cpp42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in VisitCastExpr()
43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr()
H A DVLASizeChecker.cpp276 TypeToCheck = VD->getType().getCanonicalType(); in checkPreStmt()
278 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt()
322 UETTE->getTypeOfArgument().getCanonicalType()); in checkPreStmt()
H A DStdVariantChecker.cpp267 QualType RetrievedCanonicalType = RetrievedType.getCanonicalType(); in handleStdGetCall()
268 QualType StoredCanonicalType = StoredType->getCanonicalType(); in handleStdGetCall()
H A DMallocSizeofChecker.cpp148 A = A.getCanonicalType(); in typesCompatible()
149 B = B.getCanonicalType(); in typesCompatible()
H A DObjCPropertyChecker.cpp50 const std::string &PropTypeName(T->getPointeeType().getCanonicalType() in checkCopyMutable()
H A DNumberObjectConversionChecker.cpp136 assert(ObjT.getCanonicalType()->isPointerType()); in run()
138 ObjT->getPointeeType().getCanonicalType().getUnqualifiedType()); in run()
H A DErrnoModeling.cpp86 VD->getType().getCanonicalType() == ACtx.IntTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE()
109 FD->getReturnType().getCanonicalType() == in getErrnoFunc()
H A DCastSizeChecker.cpp92 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A 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()
H A DSemaCast.cpp681 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
682 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness()
791 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast()
831 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast()
1369 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast()
1807 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast()
1934 DestType = Self.Context.getCanonicalType(DestType); in TryConstCast()
2252 DestType = Self.Context.getCanonicalType(DestType); in TryReinterpretCast()
2316 SrcType = Self.Context.getCanonicalType(SrcType); in TryReinterpretCast()
2655 DestPtr = Self.getASTContext().getCanonicalType(DestType.getTypePtr()), in checkAddressSpaceCast()
[all …]
H A DSemaOverload.cpp1374 .getCanonicalType(); in IsOverloadOrOverrideImpl()
2882 if (Context.getCanonicalType(FromArgType) in isObjCPointerConversion()
3546 FromType = Context.getCanonicalType(FromType); in IsQualificationConversion()
3547 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion()
4393 T1 = S.Context.getCanonicalType(T1); in CompareStandardConversionSequences()
4394 T2 = S.Context.getCanonicalType(T2); in CompareStandardConversionSequences()
4521 T1 = S.Context.getCanonicalType(T1); in CompareQualificationConversions()
4522 T2 = S.Context.getCanonicalType(T2); in CompareQualificationConversions()
4587 ToType1 = S.Context.getCanonicalType(ToType1); in CompareDerivedToBaseConversions()
4589 ToType2 = S.Context.getCanonicalType(ToType2); in CompareDerivedToBaseConversions()
[all …]
H A DSemaObjCProperty.cpp535 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType()); in HandlePropertyInClassExtension()
536 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType()); in HandlePropertyInClassExtension()
878 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in SelectPropertyForSynthesisFromProtocols()
943 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in SelectPropertyForSynthesisFromProtocols()
1360 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl()
1387 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1689 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch()
1691 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch()
1733 QualType lhsType = Context.getCanonicalType(PropertyRValueType); in DiagnosePropertyAccessorMismatch()
1734 QualType rhsType =Context.getCanonicalType(GetterType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A 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()
199 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createFromLayers()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A 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()
H A DASTContext.cpp10439 if (getCanonicalType(paramType) != getCanonicalType(lParamType)) in mergeFunctionTypes()
10441 if (getCanonicalType(paramType) != getCanonicalType(rParamType)) in mergeFunctionTypes()
10675 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
10677 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
10708 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
10710 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
10727 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
10729 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
10780 if (LCAT && getCanonicalType(LHSElem) == getCanonicalType(ResultType)) in mergeTypes()
10782 if (RCAT && getCanonicalType(RHSElem) == getCanonicalType(ResultType)) in mergeTypes()
[all …]
H A DFormatString.cpp406 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
534 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
539 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType()
541 if (C.getCanonicalType(argTy).getUnqualifiedType() == WInt) in matchesType()
547 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp98 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
107 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion()
453 PointeeTy.getCanonicalType() == elementType.getCanonicalType()) in getLValueElement()
H A DSValBuilder.cpp648 CastTy = Context.getCanonicalType(CastTy); in Visit()
652 OriginalTy = Context.getCanonicalType(OriginalTy); in Visit()
751 : dyn_cast<ArrayType>(OriginalTy.getCanonicalType()); in VisitMemRegionVal()
789 return ty1->getPointeeType().getCanonicalType().getTypePtr() == in VisitMemRegionVal()
790 ty2->getPointeeType().getCanonicalType().getTypePtr(); in VisitMemRegionVal()
969 QualType T = Context.getCanonicalType(SE->getType()); in VisitSymbolVal()
1051 QualType T = Context.getCanonicalType(SE->getType()); in simplifySymbolCast()
1060 QualType RT = RootSym->getType().getCanonicalType(); in simplifySymbolCast()
H A DExprEngineC.cpp144 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator()
148 CLHSTy = getContext().getCanonicalType(CLHSTy); in VisitBinaryOperator()
150 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator()
196 CanQualType T = getContext().getCanonicalType(BE->getType()); in VisitBlockExpr()
740 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp247 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
324 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
423 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtil.cpp48 return GetQualType(ct).getCanonicalType(); in GetCanonicalQualType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2535 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function
2536 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType()
2539 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function
2552 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
2555 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
2579 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
2580 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()

123456