Home
last modified time | relevance | path

Searched refs:TabStop (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Frontend/
DTextDiagnostic.cpp100 unsigned TabStop) { in printableTextForNextCharacter() argument
105 assert(0 < TabStop && TabStop <= DiagnosticOptions::MaxTabStop && in printableTextForNextCharacter()
108 unsigned NumSpaces = TabStop - col%TabStop; in printableTextForNextCharacter()
109 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()
[all …]
DCompilerInvocation.cpp765 Opts.TabStop = getLastArgIntValue(Args, OPT_ftabstop, in ParseDiagnosticArgs()
767 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
768 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
771 << Opts.TabStop << DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
/external/llvm/lib/Support/
DSourceMgr.cpp24 static const size_t TabStop = 8; variable
326 } while ((OutCol % TabStop) != 0); in printSourceLine()
449 } while ((OutCol % TabStop) != 0); in print()
478 } while (((OutCol % TabStop) != 0) && i != e); in print()
/external/clang/include/clang/Basic/
DDiagnosticOptions.def87 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.