Lines Matching refs:TabStop
95 /// \param TabStop used to expand tabs
100 unsigned TabStop) {
105 assert(0 < TabStop && TabStop <= DiagnosticOptions::MaxTabStop &&
108 unsigned NumSpaces = TabStop - col%TabStop;
109 assert(0 < NumSpaces && NumSpaces <= TabStop
162 static void expandTabs(std::string &SourceLine, unsigned TabStop) {
170 = printableTextForNextCharacter(SourceLine, &tmp_i, TabStop);
191 /// example: (given a tabstop of 8)
197 static void byteToColumn(StringRef SourceLine, unsigned TabStop,
213 = printableTextForNextCharacter(SourceLine, &i, TabStop);
225 /// example: (given a tabstop of 8)
231 static void columnToByte(StringRef SourceLine, unsigned TabStop,
246 = printableTextForNextCharacter(SourceLine, &i, TabStop);
255 SourceColumnMap(StringRef SourceLine, unsigned TabStop)
258 ::byteToColumn(SourceLine, TabStop, m_byteToColumn);
259 ::columnToByte(SourceLine, TabStop, m_columnToByte);
1044 expandTabs(FixItInsertionLine, DiagOpts->TabStop);
1116 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop);
1190 = printableTextForNextCharacter(line, &i, DiagOpts->TabStop);