/external/clang/lib/Sema/ |
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()
|
D | SemaCast.cpp | 480 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness() 481 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness() 542 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast() 582 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast() 964 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast() 1150 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast() 1151 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast() 1182 Self.Context.getCanonicalType(SrcPointer->getPointeeType()), in TryStaticPointerDowncast() 1183 Self.Context.getCanonicalType(DestPointer->getPointeeType()), in TryStaticPointerDowncast() 1350 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast() [all …]
|
D | SemaOverload.cpp | 990 QualType OldQType = Context.getCanonicalType(Old->getType()); in IsOverload() 991 QualType NewQType = Context.getCanonicalType(New->getType()); in IsOverload() 1126 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion() 1128 = S.Context.getCanonicalType(ToType).getUnqualifiedType(); in TryUserDefinedConversion() 1306 CanQualType CanTo = Context.getCanonicalType(ToType); in IsNoReturnConversion() 1307 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsNoReturnConversion() 1485 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion() 1650 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion() 1651 CanonTo = S.Context.getCanonicalType(ToType); in IsStandardConversion() 1660 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion() [all …]
|
D | SemaExceptionSpec.cpp | 493 OldTypes.insert(Context.getCanonicalType(*I).getUnqualifiedType()); in CheckEquivalentExceptionSpec() 497 CanQualType TypePtr = Context.getCanonicalType(*I).getUnqualifiedType(); in CheckEquivalentExceptionSpec() 608 QualType CanonicalSubT = Context.getCanonicalType(*SubI); in CheckExceptionSpecSubset() 630 QualType CanonicalSuperT = Context.getCanonicalType(*SuperI); in CheckExceptionSpecSubset() 657 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
|
D | SemaObjCProperty.cpp | 753 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatchDeclInProtocols() 758 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols() 1120 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl() 1147 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in ActOnPropertyImplDecl() 1148 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl() 1401 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch() 1403 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch() 1444 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch() 1445 QualType rhsType =Context.getCanonicalType(GetterType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch() 1897 Context.getCanonicalType(SetterMethod->getResultType()) != in ProcessPropertyDecl()
|
D | SemaTemplateDeduction.cpp | 894 return Arg == Context.getCanonicalType(AdjustedParam); in isSameOrCompatibleFunctionType() 940 QualType Param = S.Context.getCanonicalType(ParamIn); in DeduceTemplateArgumentsByTypeMatch() 941 QualType Arg = S.Context.getCanonicalType(ArgIn); in DeduceTemplateArgumentsByTypeMatch() 1108 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch() 1137 CanQualType CanParam = S.Context.getCanonicalType(Param); in DeduceTemplateArgumentsByTypeMatch() 1138 CanQualType CanArg = S.Context.getCanonicalType(Arg); in DeduceTemplateArgumentsByTypeMatch() 1943 return Context.getCanonicalType(X.getAsType()) == in isSameTemplateArg() 1944 Context.getCanonicalType(Y.getAsType()); in isSameTemplateArg() 3593 Context.getCanonicalType(Specialization->getType()), in DeduceTemplateArguments() 3594 Context.getCanonicalType(ArgFunctionType))) in DeduceTemplateArguments() [all …]
|
D | SemaCXXScopeSpec.cpp | 95 NNSType = Context.getCanonicalType(NNSType); in computeDeclContext() 105 = Context.getCanonicalType(QualType(SpecType, 0)); in computeDeclContext()
|
D | SemaAccess.cpp | 369 = S.Context.getCanonicalType(Friend->getType()) in MightInstantiateTo() 372 = S.Context.getCanonicalType(Context->getType()) in MightInstantiateTo() 413 = S.Context.getCanonicalType(S.Context.getTypeDeclType(Friend)); in MatchesFriend() 418 = S.Context.getCanonicalType(S.Context.getTypeDeclType(*I)); in MatchesFriend()
|
/external/clang/lib/AST/ |
D | InheritViz.cpp | 64 QualType CanonType = Context.getCanonicalType(Type); in WriteNode() 98 QualType CanonBaseType = Context.getCanonicalType(Base->getType()); in WriteNode() 128 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
|
D | ASTContext.cpp | 552 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); in Profile() 558 ID.AddPointer(T.getCanonicalType().getAsOpaquePtr()); in Profile() 600 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl() 607 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl() 2006 QualType CanT = getCanonicalType(T); in getAddrSpaceQualType() 2026 QualType CanT = getCanonicalType(T); in getObjCGCQualType() 2102 Canonical = getComplexType(getCanonicalType(T)); in getComplexType() 2130 Canonical = getPointerType(getCanonicalType(T)); in getPointerType() 2168 QualType Canonical = getCanonicalType(Decayed); in getDecayedType() 2199 Canonical = getBlockPointerType(getCanonicalType(T)); in getBlockPointerType() [all …]
|
D | MangleNumberingContext.cpp | 29 Key = Context.getCanonicalType(Key); in getManglingNumber()
|
D | DeclCXX.cpp | 197 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase->getType()))) { in setBases() 213 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType))) in setBases() 959 return Context.getCanonicalType(T); in GetConversionType() 1173 Context.getCanonicalType(ClassType)); in getDestructor() 1419 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isCopyAssignmentOperator() 1440 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isMoveAssignmentOperator() 1691 = Context.getCanonicalType(ParamRefType->getPointeeType()); in isCopyOrMoveConstructor() 1693 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isCopyOrMoveConstructor() 1732 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() 1736 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isSpecializationCopyingObject()
|
D | ASTDiagnostic.cpp | 163 QualType CanTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString() 174 QualType CompareCanTy = CompareTy.getCanonicalType(); in ConvertTypeToDiagnosticString() 217 DesugaredTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString() 824 Ty.getLocalUnqualifiedType().getCanonicalType()); in GetTemplateSpecializationType() 1361 std::string FromCanTypeStr = FromType.getCanonicalType().getAsString(); in PrintTypeNames() 1362 std::string ToCanTypeStr = ToType.getCanonicalType().getAsString(); in PrintTypeNames()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastToStructChecker.cpp | 38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in checkPreStmt() 39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
|
D | MallocSizeofChecker.cpp | 142 A = A.getCanonicalType(); in typesCompatible() 143 B = B.getCanonicalType(); in typesCompatible()
|
D | CastSizeChecker.cpp | 35 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() 222 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() 251 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() 297 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
|
D | CodeGenTypes.cpp | 161 T = T.getCanonicalType(); in isSafeToConvert() 294 T = Context.getCanonicalType(T); in ConvertType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 97 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion() 106 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 178 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType()); in castRegion() 179 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy); in castRegion()
|
D | SValBuilder.cpp | 398 castTy = Context.getCanonicalType(castTy); in evalCast() 399 originalTy = Context.getCanonicalType(originalTy); in evalCast() 450 dyn_cast<ArrayType>(originalTy.getCanonicalType())) { in evalCast()
|
D | ExprEngineC.cpp | 130 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator() 134 CLHSTy = getContext().getCanonicalType(CLHSTy); in VisitBinaryOperator() 136 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator() 183 CanQualType T = getContext().getCanonicalType(BE->getType()); in VisitBlockExpr() 580 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
|
/external/clang/lib/Analysis/ |
D | FormatString.cpp | 277 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType() 336 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType() 346 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType() 347 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1697 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function 1698 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType() 1701 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function 1714 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType() 1735 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType() 1736 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 359 ActiveASTContext->getCanonicalType(TypeNode); in VisitTypedefNameDecl() 591 ActiveASTContext->getCanonicalType(TypeNode); in typeHasMatchingAlias()
|