/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A 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()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A 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()
|
H A D | SemaCast.cpp | 648 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 D | SemaOverload.cpp | 2620 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 D | SemaObjCProperty.cpp | 535 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 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()
|
H A D | ASTContext.cpp | 9537 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 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()
|
H A D | DeclCXX.cpp | 297 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 D | ASTImporterLookupTable.cpp | 28 Ty = Ty.getCanonicalType(); in VisitTypedefNameDecl()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastToStructChecker.cpp | 42 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in VisitCastExpr() 43 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in VisitCastExpr()
|
H A D | VLASizeChecker.cpp | 263 TypeToCheck = VD->getType().getCanonicalType(); in checkPreStmt() 265 TypeToCheck = TND->getUnderlyingType().getCanonicalType(); in checkPreStmt() 310 UETTE->getTypeOfArgument().getCanonicalType()); in checkPreStmt()
|
H A D | MallocSizeofChecker.cpp | 143 A = A.getCanonicalType(); in typesCompatible() 144 B = B.getCanonicalType(); in typesCompatible()
|
H A D | NumberObjectConversionChecker.cpp | 136 assert(ObjT.getCanonicalType()->isPointerType()); in run() 138 ObjT->getPointeeType().getCanonicalType().getUnqualifiedType()); in run()
|
H A D | ObjCPropertyChecker.cpp | 50 const std::string &PropTypeName(T->getPointeeType().getCanonicalType() in checkCopyMutable()
|
H A D | CastSizeChecker.cpp | 92 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
|
H A D | GenericTaintChecker.cpp | 665 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 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()
|
H A D | SValBuilder.cpp | 562 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 D | ExprEngineC.cpp | 146 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 D | CodeGenTBAA.cpp | 244 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 D | CodeGenTypes.cpp | 92 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 D | ASTContext.h | 2381 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 D | TypeProperties.td | 375 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 D | SValBuilder.h | 114 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
|