Lines Matching defs:ToType
232 QualType ToType, bool PrintTree,
260 QualType ToType =
261 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType));
263 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
278 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
393 /// ToType - The type that FromType is compared to. Only in tree printing
395 QualType ToType;
439 /// FromType, ToType - The type arguments.
440 QualType FromType, ToType;
473 FromType(), ToType(), FromExpr(0), ToExpr(0), FromTD(0), ToTD(0),
505 /// SetNode - Sets FromType and ToType of the current node.
506 void SetNode(QualType FromType, QualType ToType) {
508 FlatTree[CurrentNode].ToType = ToType;
596 /// GetNode - Gets the FromType and ToType.
597 void GetNode(QualType &FromType, QualType &ToType) {
599 ToType = FlatTree[ReadNode].ToType;
850 QualType FromType, ToType;
852 ToType = GetType(ToIter, DefaultTTPD);
853 Tree.SetNode(FromType, ToType);
855 ToIter.isEnd() && !ToType.isNull());
857 if (!FromType.isNull() && !ToType.isNull()) {
858 if (Context.hasSameType(FromType, ToType)) {
862 ToQual = ToType.getQualifiers();
866 GetTemplateSpecializationType(Context, ToType);
1224 QualType FromType, ToType;
1225 Tree.GetNode(FromType, ToType);
1226 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1333 void PrintTypeNames(QualType FromType, QualType ToType,
1335 assert((!FromType.isNull() || !ToType.isNull()) &&
1343 if (!FromType.isNull() && !ToType.isNull() &&
1345 ToType.getLocalUnqualifiedType()) {
1347 ToQual = ToType.getLocalQualifiers(),
1356 std::string ToTypeStr = ToType.isNull() ? "(no argument)"
1357 : ToType.getAsString();
1362 std::string ToCanTypeStr = ToType
1619 QualType ToType, bool PrintTree, bool PrintFromType,
1627 FromType(PrintFromType ? FromType : ToType),
1628 ToType(PrintFromType ? ToType : FromType),
1636 ToQual = ToType.getQualifiers();
1641 GetTemplateSpecializationType(Context, ToType);
1654 Tree.SetNode(FromType, ToType);
1684 QualType ToType, bool PrintTree,
1689 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,