Home
last modified time | relevance | path

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

12345

/netbsd/external/apache2/llvm/dist/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()
193 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createFromLayers()
/netbsd/external/apache2/llvm/dist/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.cpp648 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
649 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness()
758 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast()
798 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast()
1318 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast()
1748 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast()
1875 DestType = Self.Context.getCanonicalType(DestType); in TryConstCast()
2192 DestType = Self.Context.getCanonicalType(DestType); in TryReinterpretCast()
2256 SrcType = Self.Context.getCanonicalType(SrcType); in TryReinterpretCast()
2589 DestPtr = Self.getASTContext().getCanonicalType(DestType.getTypePtr()), in checkAddressSpaceCast()
[all …]
H A DSemaOverload.cpp2620 if (Context.getCanonicalType(FromPointeeType) in isObjCPointerConversion()
2650 if (Context.getCanonicalType(FromArgType) in isObjCPointerConversion()
3264 FromType = Context.getCanonicalType(FromType); in IsQualificationConversion()
3265 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion()
4082 T1 = S.Context.getCanonicalType(T1); in CompareStandardConversionSequences()
4083 T2 = S.Context.getCanonicalType(T2); in CompareStandardConversionSequences()
4193 T1 = S.Context.getCanonicalType(T1); in CompareQualificationConversions()
4194 T2 = S.Context.getCanonicalType(T2); in CompareQualificationConversions()
4303 ToType1 = S.Context.getCanonicalType(ToType1); in CompareDerivedToBaseConversions()
4305 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()
1388 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1691 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch()
1693 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch()
1735 QualType lhsType = Context.getCanonicalType(PropertyRValueType); in DiagnosePropertyAccessorMismatch()
1736 QualType rhsType =Context.getCanonicalType(GetterType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch()
[all …]
/netbsd/external/apache2/llvm/dist/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.cpp9537 if (getCanonicalType(paramType) != getCanonicalType(lParamType)) in mergeFunctionTypes()
9539 if (getCanonicalType(paramType) != getCanonicalType(rParamType)) in mergeFunctionTypes()
9755 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
9757 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
9788 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
9790 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes()
9807 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
9809 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes()
9860 if (LCAT && getCanonicalType(LHSElem) == getCanonicalType(ResultType)) in mergeTypes()
9862 if (RCAT && getCanonicalType(RHSElem) == getCanonicalType(ResultType)) in mergeTypes()
[all …]
H A 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()
H A DDeclCXX.cpp297 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases()
317 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)).second) in setBases()
1614 return Context.getCanonicalType(T); in GetConversionType()
1884 Context.getCanonicalType(ClassType)); in getDestructor()
2395 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isCopyAssignmentOperator()
2416 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isMoveAssignmentOperator()
2699 = Context.getCanonicalType(ParamRefType->getPointeeType()); in isCopyOrMoveConstructor()
2701 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isCopyOrMoveConstructor()
2737 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
2741 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isSpecializationCopyingObject()
H A DASTImporterLookupTable.cpp28 Ty = Ty.getCanonicalType(); in VisitTypedefNameDecl()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in VisitCastExpr()
43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr()
H A DVLASizeChecker.cpp263 TypeToCheck = VD->getType().getCanonicalType(); in checkPreStmt()
265 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt()
310 UETTE->getTypeOfArgument().getCanonicalType()); in checkPreStmt()
H A DMallocSizeofChecker.cpp143 A = A.getCanonicalType(); in typesCompatible()
144 B = B.getCanonicalType(); in typesCompatible()
H A DNumberObjectConversionChecker.cpp136 assert(ObjT.getCanonicalType()->isPointerType()); in run()
138 ObjT->getPointeeType().getCanonicalType().getUnqualifiedType()); in run()
H A DObjCPropertyChecker.cpp50 const std::string &PropTypeName(T->getPointeeType().getCanonicalType() in checkCopyMutable()
H A DCastSizeChecker.cpp92 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
H A DGenericTaintChecker.cpp665 QualType ArgTy = Arg->getType().getCanonicalType(); in getPointeeOf()
785 if (PtrTy && PtrTy->getPointeeType().getCanonicalType() == in isStdin()
786 C.getASTContext().getFILEType().getCanonicalType()) in isStdin()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A 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()
H A DSValBuilder.cpp562 CastTy = Context.getCanonicalType(CastTy); in evalCast()
566 OriginalTy = Context.getCanonicalType(OriginalTy); in evalCast()
691 return ty1->getPointeeType().getCanonicalType().getTypePtr() == in hasSameUnqualifiedPointeeType()
692 ty2->getPointeeType().getCanonicalType().getTypePtr(); in hasSameUnqualifiedPointeeType()
720 : dyn_cast<ArrayType>(OriginalTy.getCanonicalType()); in evalCastSubKind()
941 QualType T = Context.getCanonicalType(SE->getType()); in evalCastSubKind()
H A DExprEngineC.cpp146 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator()
150 CLHSTy = getContext().getCanonicalType(CLHSTy); in VisitBinaryOperator()
152 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator()
199 CanQualType T = getContext().getCanonicalType(BE->getType()); in VisitBlockExpr()
756 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp244 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
321 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
385 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
H A DCodeGenTypes.cpp92 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem()
292 T = Context.getCanonicalType(T); in RefreshTypeCacheForClass()
396 T = Context.getCanonicalType(T); in ConvertType()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTContext.h2381 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function
2382 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType()
2385 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function
2398 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
2401 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
2422 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
2423 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
H A DTypeProperties.td375 canonicalType ? ctx.getCanonicalType(*canonicalType)
713 // The call to getCanonicalType here existed in ASTReader.cpp, too.
716 ctx.getCanonicalType(replacementType));
804 ? ctx.getCanonicalType(*underlyingType)
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h114 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()

12345