Home | History | Annotate | Download | only in AST

Lines Matching refs:FromType

251 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
275 QualType FromType =
276 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType));
280 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
295 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
418 /// FromType - When single type printing is selected, this is the type to be
421 QualType FromType;
423 /// ToType - The type that FromType is compared to. Only in tree printing
469 /// FromType, ToType - The type arguments.
470 QualType FromType, ToType;
503 FromType(), ToType(), FromExpr(nullptr), ToExpr(nullptr),
536 /// SetNode - Sets FromType and ToType of the current node.
537 void SetNode(QualType FromType, QualType ToType) {
538 FlatTree[CurrentNode].FromType = FromType;
627 /// GetNode - Gets the FromType and ToType.
628 void GetNode(QualType &FromType, QualType &ToType) {
629 FromType = FlatTree[ReadNode].FromType;
883 QualType FromType, ToType;
884 FromType = GetType(FromIter, DefaultTTPD);
889 Tree.SetNode(FromType, ToType);
890 Tree.SetDefault(FromIter.isEnd() && !FromType.isNull(),
893 if (!FromType.isNull() && !ToType.isNull()) {
894 if (Context.hasSameType(FromType, ToType)) {
897 Qualifiers FromQual = FromType.getQualifiers(),
900 GetTemplateSpecializationType(Context, FromType);
1270 QualType FromType, ToType;
1271 Tree.GetNode(FromType, ToType);
1272 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1379 void PrintTypeNames(QualType FromType, QualType ToType,
1381 assert((!FromType.isNull() || !ToType.isNull()) &&
1385 OS << FromType.getAsString();
1389 if (!FromType.isNull() && !ToType.isNull() &&
1390 FromType.getLocalUnqualifiedType() ==
1392 Qualifiers FromQual = FromType.getLocalQualifiers(),
1395 FromType.getLocalUnqualifiedType().print(OS, Policy);
1399 std::string FromTypeStr = FromType.isNull() ? "(no argument)"
1400 : FromType.getAsString();
1406 std::string FromCanTypeStr = FromType.getCanonicalType().getAsString();
1665 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType,
1673 // When printing a single type, the FromType is the one printed.
1674 FromType(PrintFromType ? FromType : ToType),
1675 ToType(PrintFromType ? ToType : FromType),
1682 Qualifiers FromQual = FromType.getQualifiers(),
1686 GetTemplateSpecializationType(Context, FromType);
1701 Tree.SetNode(FromType, ToType);
1730 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
1736 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,