Home | History | Annotate | Download | only in AST

Lines Matching refs:FromType

316 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
340 QualType FromType =
341 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType));
345 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
360 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
481 /// ToTemplateType - The type that FromType is compared to. Only in tree
592 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault,
596 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType;
757 void GetTypeDiff(QualType &FromType, QualType &ToType) {
759 FromType = FlatTree[ReadNode].FromArgInfo.ArgType;
1070 static bool OnlyPerformTypeDiff(ASTContext &Context, QualType FromType,
1074 if (FromType.isNull() || ToType.isNull())
1077 if (Context.hasSameType(FromType, ToType))
1080 FromArgTST = GetTemplateSpecializationType(Context, FromType);
1094 QualType FromType = GetType(FromIter);
1097 bool FromDefault = FromIter.isEnd() && !FromType.isNull();
1102 if (OnlyPerformTypeDiff(Context, FromType, ToType, FromArgTST, ToArgTST)) {
1103 Tree.SetTypeDiff(FromType, ToType, FromDefault, ToDefault);
1104 Tree.SetSame(!FromType.isNull() && !ToType.isNull() &&
1105 Context.hasSameType(FromType, ToType));
1109 Qualifiers FromQual = FromType.getQualifiers(),
1431 QualType FromType, ToType;
1432 Tree.GetTypeDiff(FromType, ToType);
1433 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1587 void PrintTypeNames(QualType FromType, QualType ToType,
1589 assert((!FromType.isNull() || !ToType.isNull()) &&
1593 OS << FromType.getAsString(Policy);
1597 if (!FromType.isNull() && !ToType.isNull() &&
1598 FromType.getLocalUnqualifiedType() ==
1600 Qualifiers FromQual = FromType.getLocalQualifiers(),
1603 FromType.getLocalUnqualifiedType().print(OS, Policy);
1607 std::string FromTypeStr = FromType.isNull() ? "(no argument)"
1608 : FromType.getAsString(Policy);
1615 FromType.getCanonicalType().getAsString(Policy);
1968 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType,
1976 // When printing a single type, the FromType is the one printed.
1977 FromTemplateType(PrintFromType ? FromType : ToType),
1978 ToTemplateType(PrintFromType ? ToType : FromType),
2032 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
2038 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,