/minix/external/bsd/llvm/dist/clang/lib/Sema/ |
H A 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()
|
H A D | SemaCast.cpp | 481 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness() 482 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness() 555 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast() 595 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() 984 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast() 1178 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast() 1379 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast() 1506 DestType = Self.Context.getCanonicalType(DestType); in TryConstCast() 1581 SrcType = Self.Context.getCanonicalType(SrcType); in TryConstCast() 1720 DestType = Self.Context.getCanonicalType(DestType); in TryReinterpretCast() [all …]
|
H A D | SemaOverload.cpp | 1637 CanonTo = S.Context.getCanonicalType(ToType); in IsStandardConversion() 1647 CanonTo = S.Context.getCanonicalType(ToType); in IsStandardConversion() 2281 if (Context.getCanonicalType(FromArgType) in isObjCPointerConversion() 2783 FromType = Context.getCanonicalType(FromType); in IsQualificationConversion() 2784 ToType = Context.getCanonicalType(ToType); in IsQualificationConversion() 3575 T1 = S.Context.getCanonicalType(T1); in CompareStandardConversionSequences() 3576 T2 = S.Context.getCanonicalType(T2); in CompareStandardConversionSequences() 3645 T1 = S.Context.getCanonicalType(T1); in CompareQualificationConversions() 3646 T2 = S.Context.getCanonicalType(T2); in CompareQualificationConversions() 3758 ToType1 = S.Context.getCanonicalType(ToType1); in CompareDerivedToBaseConversions() [all …]
|
H A D | SemaObjCProperty.cpp | 437 Context.getCanonicalType(PIDecl->getType()).getUnqualifiedType(); in HandlePropertyInClassExtension() 767 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatchDeclInProtocols() 772 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols() 1061 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl() 1088 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in ActOnPropertyImplDecl() 1089 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl() 1358 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch() 1360 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch() 1401 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch() 1402 QualType rhsType =Context.getCanonicalType(GetterType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch() [all …]
|
H A D | SemaExceptionSpec.cpp | 534 OldTypes.insert(Context.getCanonicalType(I).getUnqualifiedType()); in CheckEquivalentExceptionSpec() 537 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec() 647 QualType CanonicalSubT = Context.getCanonicalType(SubI); in CheckExceptionSpecSubset() 667 QualType CanonicalSuperT = Context.getCanonicalType(SuperI); in CheckExceptionSpecSubset() 694 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
|
H A D | SemaTemplateDeduction.cpp | 942 return Arg == Context.getCanonicalType(AdjustedParam); in isSameOrCompatibleFunctionType() 988 QualType Param = S.Context.getCanonicalType(ParamIn); in DeduceTemplateArgumentsByTypeMatch() 989 QualType Arg = S.Context.getCanonicalType(ArgIn); in DeduceTemplateArgumentsByTypeMatch() 1196 CanQualType CanParam = S.Context.getCanonicalType(Param); in DeduceTemplateArgumentsByTypeMatch() 1197 CanQualType CanArg = S.Context.getCanonicalType(Arg); in DeduceTemplateArgumentsByTypeMatch() 1961 return Context.getCanonicalType(X.getAsType()) == in isSameTemplateArg() 1962 Context.getCanonicalType(Y.getAsType()); in isSameTemplateArg() 3757 QualType P = Context.getCanonicalType(FromType); in DeduceTemplateArguments() 3758 QualType A = Context.getCanonicalType(ToType); in DeduceTemplateArguments() 3997 Deduced = Context.getCanonicalType(Deduced); in DeduceAutoType() [all …]
|
H A D | SemaAccess.cpp | 367 = S.Context.getCanonicalType(Friend->getType()) in MightInstantiateTo() 370 = S.Context.getCanonicalType(Context->getType()) in MightInstantiateTo() 409 = S.Context.getCanonicalType(S.Context.getTypeDeclType(Friend)); in MatchesFriend() 414 = S.Context.getCanonicalType(S.Context.getTypeDeclType(*I)); in MatchesFriend()
|
H A D | SemaCXXScopeSpec.cpp | 95 NNSType = Context.getCanonicalType(NNSType); in computeDeclContext() 105 = Context.getCanonicalType(QualType(SpecType, 0)); in computeDeclContext()
|
/minix/external/bsd/llvm/dist/clang/lib/AST/ |
H A 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()
|
H A D | ASTContext.cpp | 7019 if (getCanonicalType(paramType) != getCanonicalType(lParamType)) in mergeFunctionTypes() 7021 if (getCanonicalType(paramType) != getCanonicalType(rParamType)) in mergeFunctionTypes() 7230 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes() 7232 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes() 7248 if (getCanonicalType(LHSPointee) == getCanonicalType(ResultType)) in mergeTypes() 7250 if (getCanonicalType(RHSPointee) == getCanonicalType(ResultType)) in mergeTypes() 7266 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes() 7268 if (getCanonicalType(RHSValue) == getCanonicalType(ResultType)) in mergeTypes() 7288 if (LCAT && getCanonicalType(LHSElem) == getCanonicalType(ResultType)) in mergeTypes() 7290 if (RCAT && getCanonicalType(RHSElem) == getCanonicalType(ResultType)) in mergeTypes() [all …]
|
H A D | DeclCXX.cpp | 212 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases() 228 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)).second) in setBases() 1053 return Context.getCanonicalType(T); in GetConversionType() 1308 Context.getCanonicalType(ClassType)); in getDestructor() 1522 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isCopyAssignmentOperator() 1543 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isMoveAssignmentOperator() 1800 = Context.getCanonicalType(ParamRefType->getPointeeType()); in isCopyOrMoveConstructor() 1802 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isCopyOrMoveConstructor() 1840 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() 1844 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isSpecializationCopyingObject()
|
H A D | ItaniumCXXABI.cpp | 69 Key = Context.getCanonicalType(Key); in getManglingNumber()
|
H A D | ASTDiagnostic.cpp | 169 QualType CanTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString() 180 QualType CompareCanTy = CompareTy.getCanonicalType(); in ConvertTypeToDiagnosticString() 223 DesugaredTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString() 871 Ty.getLocalUnqualifiedType().getCanonicalType()); in GetTemplateSpecializationType() 1520 FromType.getCanonicalType().getAsString(Policy); in PrintTypeNames() 1521 std::string ToCanTypeStr = ToType.getCanonicalType().getAsString(Policy); in PrintTypeNames()
|
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastToStructChecker.cpp | 38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in checkPreStmt() 39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
|
H A D | MallocSizeofChecker.cpp | 145 A = A.getCanonicalType(); in typesCompatible() 146 B = B.getCanonicalType(); in typesCompatible()
|
H A D | CastSizeChecker.cpp | 94 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
|
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() 214 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() 243 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() 296 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
|
H A D | CodeGenTypes.cpp | 157 T = T.getCanonicalType(); in isSafeToConvert() 298 T = Context.getCanonicalType(T); in ConvertType()
|
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A 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()
|
H A D | SValBuilder.cpp | 400 castTy = Context.getCanonicalType(castTy); in evalCast() 401 originalTy = Context.getCanonicalType(originalTy); in evalCast() 459 dyn_cast<ArrayType>(originalTy.getCanonicalType())) { in evalCast()
|
H A D | ExprEngineC.cpp | 137 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator() 141 CLHSTy = getContext().getCanonicalType(CLHSTy); in VisitBinaryOperator() 143 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator() 190 CanQualType T = getContext().getCanonicalType(BE->getType()); in VisitBlockExpr() 592 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
|
H A D | ExprEngineCallAndReturn.cpp | 131 ExpectedTy = ExpectedTy.getCanonicalType(); in adjustReturnValue() 132 ActualTy = ActualTy.getCanonicalType(); in adjustReturnValue()
|
/minix/external/bsd/llvm/dist/clang/lib/Analysis/ |
H A D | FormatString.cpp | 300 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType() 359 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType() 369 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType() 370 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
|
/minix/external/bsd/llvm/dist/clang/include/clang/AST/ |
H A D | ASTContext.h | 1783 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function 1784 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType() 1787 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function 1800 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType() 1804 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType() 1825 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType() 1826 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
|
/minix/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
|