Home
last modified time | relevance | path

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

1234

/external/clang/lib/Sema/
DSemaFixItUtils.cpp36 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()
DSemaCast.cpp508 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
509 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness()
582 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast()
622 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast()
1004 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast()
1218 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast()
1219 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast()
1250 Self.Context.getCanonicalType(SrcPointer->getPointeeType()), in TryStaticPointerDowncast()
1251 Self.Context.getCanonicalType(DestPointer->getPointeeType()), in TryStaticPointerDowncast()
1422 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast()
[all …]
DSemaOverload.cpp976 QualType OldQType = Context.getCanonicalType(Old->getType()); in IsOverload()
977 QualType NewQType = Context.getCanonicalType(New->getType()); in IsOverload()
1163 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1165 = S.Context.getCanonicalType(ToType).getUnqualifiedType(); in TryUserDefinedConversion()
1345 CanQualType CanTo = Context.getCanonicalType(ToType); in IsNoReturnConversion()
1346 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsNoReturnConversion()
1520 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion()
1690 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion()
1691 CanonTo = S.Context.getCanonicalType(ToType); in IsStandardConversion()
1700 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion()
[all …]
DSemaObjCProperty.cpp532 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType()); in HandlePropertyInClassExtension()
533 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType()); in HandlePropertyInClassExtension()
824 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatchDeclInProtocols()
829 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols()
1156 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl()
1183 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1184 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1456 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch()
1458 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch()
1498 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in DiagnosePropertyAccessorMismatch()
[all …]
DSemaExceptionSpec.cpp559 OldTypes.insert(Context.getCanonicalType(I).getUnqualifiedType()); in CheckEquivalentExceptionSpec()
562 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec()
672 QualType CanonicalSubT = Context.getCanonicalType(SubI); in CheckExceptionSpecSubset()
692 QualType CanonicalSuperT = Context.getCanonicalType(SuperI); in CheckExceptionSpecSubset()
719 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
DSemaTemplateDeduction.cpp911 return Arg == Context.getCanonicalType(AdjustedParam); in isSameOrCompatibleFunctionType()
952 QualType Param = S.Context.getCanonicalType(ParamIn); in DeduceTemplateArgumentsByTypeMatch()
953 QualType Arg = S.Context.getCanonicalType(ArgIn); in DeduceTemplateArgumentsByTypeMatch()
1131 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
1160 CanQualType CanParam = S.Context.getCanonicalType(Param); in DeduceTemplateArgumentsByTypeMatch()
1161 CanQualType CanArg = S.Context.getCanonicalType(Arg); in DeduceTemplateArgumentsByTypeMatch()
1934 return Context.getCanonicalType(X.getAsType()) == in isSameTemplateArg()
1935 Context.getCanonicalType(Y.getAsType()); in isSameTemplateArg()
3643 Context.getCanonicalType(Specialization->getType()), in DeduceTemplateArguments()
3644 Context.getCanonicalType(ArgFunctionType))) in DeduceTemplateArguments()
[all …]
DSemaAccess.cpp372 = S.Context.getCanonicalType(Friend->getType()) in MightInstantiateTo()
375 = S.Context.getCanonicalType(Context->getType()) in MightInstantiateTo()
414 = S.Context.getCanonicalType(S.Context.getTypeDeclType(Friend)); in MatchesFriend()
419 = S.Context.getCanonicalType(S.Context.getTypeDeclType(*I)); in MatchesFriend()
DSemaDeclCXX.cpp214 if (ExceptionsSeen.insert(Self->Context.getCanonicalType(E)).second) in CalledDecl()
1545 QualType Base = Context.getCanonicalType(BaseSpec.getType()) in NoteIndirectBases()
1576 = Context.getCanonicalType(Bases[idx]->getType()); in AttachBaseSpecifiers()
1627 CanQualType CanonicalBase = Context.getCanonicalType(BaseType) in AttachBaseSpecifiers()
1763 if (!Paths.isAmbiguous(Context.getCanonicalType(Base).getUnqualifiedType())) { in CheckDerivedToBaseConversion()
2642 UninitializedBaseClasses.insert(I.getType().getCanonicalType()); in DiagnoseUninitializedFields()
4062 return Context.getCanonicalType(BaseType).getTypePtr(); in GetKeyForBase()
4516 AbstractType(S.Context.getCanonicalType( in AbstractUsageInfo()
6736 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) { in CheckConstructor()
7084 QualType ConvType = Context.getCanonicalType(Conversion->getConversionType()); in ActOnConversionDeclarator()
[all …]
/external/clang/lib/AST/
DInheritViz.cpp64 QualType CanonType = Context.getCanonicalType(Type); in WriteNode()
97 QualType CanonBaseType = Context.getCanonicalType(Base.getType()); in WriteNode()
127 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference()
DASTContext.cpp568 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); in Profile()
574 ID.AddPointer(T.getCanonicalType().getAsOpaquePtr()); in Profile()
616 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl()
623 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl()
2170 QualType CanT = getCanonicalType(T); in getAddrSpaceQualType()
2190 QualType CanT = getCanonicalType(T); in getObjCGCQualType()
2322 Canonical = getComplexType(getCanonicalType(T)); in getComplexType()
2350 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
2370 QualType Canonical = getCanonicalType(New); in getAdjustedType()
2410 QualType Canonical = getCanonicalType(Decayed); in getDecayedType()
[all …]
DDeclCXX.cpp212 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases()
228 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)).second) in setBases()
1047 return Context.getCanonicalType(T); in GetConversionType()
1302 Context.getCanonicalType(ClassType)); in getDestructor()
1537 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isCopyAssignmentOperator()
1558 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isMoveAssignmentOperator()
1819 = Context.getCanonicalType(ParamRefType->getPointeeType()); in isCopyOrMoveConstructor()
1821 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isCopyOrMoveConstructor()
1859 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
1863 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isSpecializationCopyingObject()
DItaniumCXXABI.cpp69 Key = Context.getCanonicalType(Key); in getManglingNumber()
DASTDiagnostic.cpp233 QualType CanTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString()
244 QualType CompareCanTy = CompareTy.getCanonicalType(); in ConvertTypeToDiagnosticString()
287 DesugaredTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString()
933 Ty.getLocalUnqualifiedType().getCanonicalType()); in GetTemplateSpecializationType()
1582 FromType.getCanonicalType().getAsString(Policy); in PrintTypeNames()
1583 std::string ToCanTypeStr = ToType.getCanonicalType().getAsString(Policy); in PrintTypeNames()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); in checkPreStmt()
39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
DMallocSizeofChecker.cpp144 A = A.getCanonicalType(); in typesCompatible()
145 B = B.getCanonicalType(); in typesCompatible()
DCastSizeChecker.cpp94 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
213 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
242 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
294 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp86 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()
DSValBuilder.cpp428 castTy = Context.getCanonicalType(castTy); in evalCast()
429 originalTy = Context.getCanonicalType(originalTy); in evalCast()
487 dyn_cast<ArrayType>(originalTy.getCanonicalType())) { in evalCast()
DExprEngineC.cpp137 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()
617 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
DExprEngineCallAndReturn.cpp131 ExpectedTy = ExpectedTy.getCanonicalType(); in adjustReturnValue()
132 ActualTy = ActualTy.getCanonicalType(); in adjustReturnValue()
/external/clang/lib/Analysis/
DFormatString.cpp301 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
361 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
371 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType()
372 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
/external/clang/include/clang/AST/
DASTContext.h1941 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function
1942 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType()
1945 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function
1958 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
1962 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
1983 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
1984 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp363 ActiveASTContext->getCanonicalType(TypeNode); in VisitTypedefNameDecl()
707 ActiveASTContext->getCanonicalType(TypeNode); in typeHasMatchingAlias()

1234