Home | History | Annotate | Download | only in AST

Lines Matching refs:FromType

315 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
339 QualType FromType =
340 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType));
344 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
359 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
476 /// FromType - When single type printing is selected, this is the type to be
479 QualType FromType;
481 /// ToType - The type that FromType is compared to. Only in tree printing
527 /// FromType, ToType - The type arguments.
528 QualType FromType, ToType;
564 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr),
598 /// SetNode - Sets FromType and ToType of the current node.
599 void SetNode(QualType FromType, QualType ToType) {
600 FlatTree[CurrentNode].FromType = FromType;
695 /// GetNode - Gets the FromType and ToType.
696 void GetNode(QualType &FromType, QualType &ToType) {
697 FromType = FlatTree[ReadNode].FromType;
942 QualType FromType = GetType(FromIter, FromDefaultTypeDecl);
945 Tree.SetNode(FromType, ToType);
946 Tree.SetDefault(FromIter.isEnd() && !FromType.isNull(),
949 if (FromType.isNull() || ToType.isNull())
952 if (Context.hasSameType(FromType, ToType)) {
958 GetTemplateSpecializationType(Context, FromType);
970 Qualifiers FromQual = FromType.getQualifiers(),
1444 QualType FromType, ToType;
1445 Tree.GetNode(FromType, ToType);
1446 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1554 void PrintTypeNames(QualType FromType, QualType ToType,
1556 assert((!FromType.isNull() || !ToType.isNull()) &&
1560 OS << FromType.getAsString(Policy);
1564 if (!FromType.isNull() && !ToType.isNull() &&
1565 FromType.getLocalUnqualifiedType() ==
1567 Qualifiers FromQual = FromType.getLocalQualifiers(),
1570 FromType.getLocalUnqualifiedType().print(OS, Policy);
1574 std::string FromTypeStr = FromType.isNull() ? "(no argument)"
1575 : FromType.getAsString(Policy);
1582 FromType.getCanonicalType().getAsString(Policy);
1860 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType,
1868 // When printing a single type, the FromType is the one printed.
1869 FromType(PrintFromType ? FromType : ToType),
1870 ToType(PrintFromType ? ToType : FromType),
1877 Qualifiers FromQual = FromType.getQualifiers(),
1881 GetTemplateSpecializationType(Context, FromType);
1896 Tree.SetNode(FromType, ToType);
1925 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
1931 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,