Home | History | Annotate | Download | only in AST

Lines Matching refs:ToType

252                                    QualType ToType, bool PrintTree,
277 QualType ToType =
278 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType));
280 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
295 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
419 /// ToType - The type that FromType is compared to. Only in tree printing
421 QualType ToType;
465 /// FromType, ToType - The type arguments.
466 QualType FromType, ToType;
502 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr),
536 /// SetNode - Sets FromType and ToType of the current node.
537 void SetNode(QualType FromType, QualType ToType) {
539 FlatTree[CurrentNode].ToType = ToType;
633 /// GetNode - Gets the FromType and ToType.
634 void GetNode(QualType &FromType, QualType &ToType) {
636 ToType = FlatTree[ReadNode].ToType;
881 QualType ToType = GetType(ToIter, ToDefaultTypeDecl);
883 Tree.SetNode(FromType, ToType);
885 ToIter.isEnd() && !ToType.isNull());
887 if (FromType.isNull() || ToType.isNull())
890 if (Context.hasSameType(FromType, ToType)) {
901 GetTemplateSpecializationType(Context, ToType);
909 ToQual = ToType.getQualifiers();
1382 QualType FromType, ToType;
1383 Tree.GetNode(FromType, ToType);
1384 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1492 void PrintTypeNames(QualType FromType, QualType ToType,
1494 assert((!FromType.isNull() || !ToType.isNull()) &&
1502 if (!FromType.isNull() && !ToType.isNull() &&
1504 ToType.getLocalUnqualifiedType()) {
1506 ToQual = ToType.getLocalQualifiers();
1514 std::string ToTypeStr = ToType.isNull() ? "(no argument)"
1515 : ToType.getAsString(Policy);
1521 std::string ToCanTypeStr = ToType.getCanonicalType().getAsString(Policy);
1799 QualType ToType, bool PrintTree, bool PrintFromType,
1807 FromType(PrintFromType ? FromType : ToType),
1808 ToType(PrintFromType ? ToType : FromType),
1816 ToQual = ToType.getQualifiers();
1821 GetTemplateSpecializationType(Context, ToType);
1834 Tree.SetNode(FromType, ToType);
1864 QualType ToType, bool PrintTree,
1869 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,