Lines Matching refs:TabStop
99 unsigned TabStop) { in printableTextForNextCharacter() argument
104 assert(0 < TabStop && TabStop <= DiagnosticOptions::MaxTabStop && in printableTextForNextCharacter()
107 unsigned NumSpaces = TabStop - col%TabStop; in printableTextForNextCharacter()
108 assert(0 < NumSpaces && NumSpaces <= TabStop in printableTextForNextCharacter()
162 static void expandTabs(std::string &SourceLine, unsigned TabStop) { in expandTabs() argument
170 = printableTextForNextCharacter(SourceLine, &tmp_i, TabStop); in expandTabs()
197 static void byteToColumn(StringRef SourceLine, unsigned TabStop, in byteToColumn() argument
213 = printableTextForNextCharacter(SourceLine, &i, TabStop); in byteToColumn()
231 static void columnToByte(StringRef SourceLine, unsigned TabStop, in columnToByte() argument
246 = printableTextForNextCharacter(SourceLine, &i, TabStop); in columnToByte()
255 SourceColumnMap(StringRef SourceLine, unsigned TabStop) in SourceColumnMap()
258 ::byteToColumn(SourceLine, TabStop, m_byteToColumn); in SourceColumnMap()
259 ::columnToByte(SourceLine, TabStop, m_columnToByte); in SourceColumnMap()
1128 expandTabs(FixItInsertionLine, DiagOpts->TabStop); in buildFixItInsertionLine()
1217 const SourceColumnMap sourceColMap(SourceLine, DiagOpts->TabStop); in emitSnippetAndCaret()
1298 = printableTextForNextCharacter(line, &i, DiagOpts->TabStop); in emitSnippet()