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.cpp1025 Opts.TabStop = getLastArgIntValue(Args, OPT_ftabstop, in ParseDiagnosticArgs()
1027 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
1028 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
1031 << 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()
451 } while ((OutCol % TabStop) != 0); in print()
480 } while (((OutCol % TabStop) != 0) && i != e); in print()
/external/clang/include/clang/Basic/
DDiagnosticOptions.def90 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.