Searched defs:DiagTextVisitor (Results 1 – 1 of 1) sorted by relevance
696 template <class Derived> struct DiagTextVisitor { struct697 using ModifierMappingsType = Optional<std::vector<int>>;700 Derived &getDerived() { return static_cast<Derived &>(*this); } in getDerived()704 getSubstitutionMappings(SubstitutionPiece *P, in getSubstitutionMappings()712 struct SubstitutionContext {735 DiagTextVisitor(DiagnosticTextBuilder &Builder) : Builder(Builder) {} in DiagTextVisitor() function737 void Visit(Piece *P) { in Visit()753 void VisitSubstitution(SubstitutionPiece *P) { in VisitSubstitution()758 int mapIndex(int Idx, in mapIndex()770 int mapIndex(int Idx) const { in mapIndex()[all …]