Home
last modified time | relevance | path

Searched refs:getCanonicalType (Results 1 – 25 of 93) 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.cpp509 QualType UnwrappedSrcType = Self.Context.getCanonicalType(SrcType), in CastsAwayConstness()
510 UnwrappedDestType = Self.Context.getCanonicalType(DestType); in CastsAwayConstness()
583 QualType DestType = Self.Context.getCanonicalType(this->DestType); in CheckDynamicCast()
623 QualType SrcType = Self.Context.getCanonicalType(OrigSrcType); in CheckDynamicCast()
1005 QualType SrcType = Self.Context.getCanonicalType(SrcExpr.get()->getType()); in TryStaticCast()
1219 Self.Context.getCanonicalType(SrcExpr->getType()), in TryStaticReferenceDowncast()
1220 Self.Context.getCanonicalType(DestPointee), CStyle, in TryStaticReferenceDowncast()
1251 Self.Context.getCanonicalType(SrcPointer->getPointeeType()), in TryStaticPointerDowncast()
1252 Self.Context.getCanonicalType(DestPointer->getPointeeType()), in TryStaticPointerDowncast()
1422 if (Paths.isAmbiguous(Self.Context.getCanonicalType(DestClass))) { in TryStaticMemberPointerUpcast()
[all …]
DSemaOverload.cpp1014 QualType OldQType = Context.getCanonicalType(Old->getType()); in IsOverload()
1015 QualType NewQType = Context.getCanonicalType(New->getType()); in IsOverload()
1213 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1215 = S.Context.getCanonicalType(ToType).getUnqualifiedType(); in TryUserDefinedConversion()
1397 CanQualType CanTo = Context.getCanonicalType(ToType); in IsNoReturnConversion()
1398 CanQualType CanFrom = Context.getCanonicalType(FromType); in IsNoReturnConversion()
1572 S.Context.getCanonicalType(FromType) != S.Context.OverloadTy) { in IsStandardConversion()
1756 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion()
1757 CanonTo = S.Context.getCanonicalType(ToType); in IsStandardConversion()
1766 CanonFrom = S.Context.getCanonicalType(FromType); in IsStandardConversion()
[all …]
DSemaObjCProperty.cpp536 QualType PrimaryClassPropertyT = Context.getCanonicalType(PIDecl->getType()); in HandlePropertyInClassExtension()
537 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType()); in HandlePropertyInClassExtension()
833 QualType RHSType = S.Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatchDeclInProtocols()
838 QualType LHSType = S.Context.getCanonicalType(Prop->getType()); in DiagnosePropertyMismatchDeclInProtocols()
1171 QualType IvarType = Context.getCanonicalType(Ivar->getType()); in ActOnPropertyImplDecl()
1198 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1199 QualType rhsType =Context.getCanonicalType(IvarType).getUnqualifiedType(); in ActOnPropertyImplDecl()
1471 Context.getCanonicalType(SuperProperty->getType()); in DiagnosePropertyMismatch()
1473 Context.getCanonicalType(Property->getType()); in DiagnosePropertyMismatch()
1515 QualType lhsType = Context.getCanonicalType(PropertyRValueType); in DiagnosePropertyAccessorMismatch()
[all …]
DSemaExceptionSpec.cpp565 OldTypes.insert(Context.getCanonicalType(I).getUnqualifiedType()); in CheckEquivalentExceptionSpec()
568 CanQualType TypePtr = Context.getCanonicalType(I).getUnqualifiedType(); in CheckEquivalentExceptionSpec()
678 QualType CanonicalSubT = Context.getCanonicalType(SubI); in CheckExceptionSpecSubset()
698 QualType CanonicalSuperT = Context.getCanonicalType(SuperI); in CheckExceptionSpecSubset()
725 if (Paths.isAmbiguous(Context.getCanonicalType(CanonicalSuperT))) in CheckExceptionSpecSubset()
DSemaTemplateDeduction.cpp907 return Arg == Context.getCanonicalType(AdjustedParam); in isSameOrCompatibleFunctionType()
948 QualType Param = S.Context.getCanonicalType(ParamIn); in DeduceTemplateArgumentsByTypeMatch()
949 QualType Arg = S.Context.getCanonicalType(ArgIn); in DeduceTemplateArgumentsByTypeMatch()
1127 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
1156 CanQualType CanParam = S.Context.getCanonicalType(Param); in DeduceTemplateArgumentsByTypeMatch()
1157 CanQualType CanArg = S.Context.getCanonicalType(Arg); in DeduceTemplateArgumentsByTypeMatch()
1948 return Context.getCanonicalType(X.getAsType()) == in isSameTemplateArg()
1949 Context.getCanonicalType(Y.getAsType()); in isSameTemplateArg()
3635 Context.getCanonicalType(Specialization->getType()), in DeduceTemplateArguments()
3636 Context.getCanonicalType(ArgFunctionType))) in DeduceTemplateArguments()
[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.cpp569 ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr()); in Profile()
575 ID.AddPointer(T.getCanonicalType().getAsOpaquePtr()); in Profile()
617 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl()
624 ExpandedTypes.push_back(getCanonicalType(NTTP->getExpansionType(I))); in getCanonicalTemplateTemplateParmDecl()
2179 QualType CanT = getCanonicalType(T); in getAddrSpaceQualType()
2199 QualType CanT = getCanonicalType(T); in getObjCGCQualType()
2331 Canonical = getComplexType(getCanonicalType(T)); in getComplexType()
2359 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
2379 QualType Canonical = getCanonicalType(New); in getAdjustedType()
2419 QualType Canonical = getCanonicalType(Decayed); in getDecayedType()
[all …]
DDeclCXX.cpp219 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases()
239 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)).second) in setBases()
1103 return Context.getCanonicalType(T); in GetConversionType()
1370 Context.getCanonicalType(ClassType)); in getDestructor()
1605 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isCopyAssignmentOperator()
1626 = Context.getCanonicalType(Context.getTypeDeclType(getParent())); in isMoveAssignmentOperator()
1900 = Context.getCanonicalType(ParamRefType->getPointeeType()); in isCopyOrMoveConstructor()
1902 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isCopyOrMoveConstructor()
1940 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject()
1944 = Context.getCanonicalType(Context.getTagDeclType(getParent())); in isSpecializationCopyingObject()
DItaniumCXXABI.cpp69 Key = Context.getCanonicalType(Key); in getManglingNumber()
DASTDiagnostic.cpp234 QualType CanTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString()
245 QualType CompareCanTy = CompareTy.getCanonicalType(); in ConvertTypeToDiagnosticString()
288 DesugaredTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString()
1064 Ty.getLocalUnqualifiedType().getCanonicalType()); in GetTemplateSpecializationType()
1615 FromType.getCanonicalType().getAsString(Policy); in PrintTypeNames()
1616 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.cpp91 QualType ToTy = Ctx.getCanonicalType(CE->getType()); in checkPreStmt()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp102 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
217 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
246 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
298 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
DCodeGenFunction.cpp171 type = type.getCanonicalType(); in getEvaluationKind()
493 pointeeTy.getUnqualifiedType().getCanonicalType().getAsString( in GenOpenCLArgMetadata()
525 typeName = ty.getCanonicalType()->getAs<PipeType>()->getElementType() in GenOpenCLArgMetadata()
539 baseTypeName = ty.getCanonicalType()->getAs<PipeType>() in GenOpenCLArgMetadata()
540 ->getElementType().getCanonicalType() in GenOpenCLArgMetadata()
544 ty.getUnqualifiedType().getCanonicalType().getAsString(Policy); in GenOpenCLArgMetadata()
DCodeGenTypes.cpp277 T = Context.getCanonicalType(T); in RefreshTypeCacheForClass()
380 T = Context.getCanonicalType(T); in ConvertType()
/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.cpp472 castTy = Context.getCanonicalType(castTy); in evalCast()
473 originalTy = Context.getCanonicalType(originalTy); in evalCast()
531 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()
628 QualType T = getContext().getCanonicalType(IE->getType()); in VisitInitListExpr()
DExprEngineCallAndReturn.cpp134 ExpectedTy = ExpectedTy.getCanonicalType(); in adjustReturnValue()
135 ActualTy = ActualTy.getCanonicalType(); in adjustReturnValue()
/external/clang/lib/Analysis/
DFormatString.cpp332 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
392 C.getCanonicalType(PT->getPointeeType()).getUnqualifiedType(); in matchesType()
402 QualType WInt = C.getCanonicalType(C.getWIntType()).getUnqualifiedType(); in matchesType()
403 PromoArg = C.getCanonicalType(PromoArg).getUnqualifiedType(); in matchesType()
/external/clang/include/clang/AST/
DASTContext.h1966 CanQualType getCanonicalType(QualType T) const { in getCanonicalType() function
1967 return CanQualType::CreateUnsafe(T.getCanonicalType()); in getCanonicalType()
1970 const Type *getCanonicalType(const Type *T) const { in getCanonicalType() function
1983 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
1987 return getCanonicalType(T1) == getCanonicalType(T2); in hasSameType()
2008 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
2009 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h81 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp363 ActiveASTContext->getCanonicalType(TypeNode); in VisitTypedefNameDecl()
718 ActiveASTContext->getCanonicalType(TypeNode); in typeHasMatchingAlias()

1234