• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/

Lines Matching refs:FromType

318 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
371 QualType FromType =
372 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType));
376 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree,
391 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType;
513 /// ToTemplateType - The type that FromType is compared to. Only in tree
623 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault,
627 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType;
788 void GetTypeDiff(QualType &FromType, QualType &ToType) {
790 FromType = FlatTree[ReadNode].FromArgInfo.ArgType;
1110 static bool OnlyPerformTypeDiff(ASTContext &Context, QualType FromType,
1114 if (FromType.isNull() || ToType.isNull())
1117 if (Context.hasSameType(FromType, ToType))
1120 FromArgTST = GetTemplateSpecializationType(Context, FromType);
1134 QualType FromType = GetType(FromIter);
1137 bool FromDefault = FromIter.isEnd() && !FromType.isNull();
1142 if (OnlyPerformTypeDiff(Context, FromType, ToType, FromArgTST, ToArgTST)) {
1143 Tree.SetTypeDiff(FromType, ToType, FromDefault, ToDefault);
1144 Tree.SetSame(!FromType.isNull() && !ToType.isNull() &&
1145 Context.hasSameType(FromType, ToType));
1149 Qualifiers FromQual = FromType.getQualifiers(),
1471 QualType FromType, ToType;
1472 Tree.GetTypeDiff(FromType, ToType);
1473 PrintTypeNames(FromType, ToType, Tree.FromDefault(), Tree.ToDefault(),
1627 void PrintTypeNames(QualType FromType, QualType ToType,
1629 assert((!FromType.isNull() || !ToType.isNull()) &&
1633 OS << FromType.getAsString(Policy);
1637 if (!FromType.isNull() && !ToType.isNull() &&
1638 FromType.getLocalUnqualifiedType() ==
1640 Qualifiers FromQual = FromType.getLocalQualifiers(),
1643 FromType.getLocalUnqualifiedType().print(OS, Policy);
1647 std::string FromTypeStr = FromType.isNull() ? "(no argument)"
1648 : FromType.getAsString(Policy);
1655 FromType.getCanonicalType().getAsString(Policy);
2009 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType,
2017 // When printing a single type, the FromType is the one printed.
2018 FromTemplateType(PrintFromType ? FromType : ToType),
2019 ToTemplateType(PrintFromType ? ToType : FromType),
2073 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType,
2079 TemplateDiff TD(OS, Context, FromType, ToType, PrintTree, PrintFromType,