Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A 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()
198 static void byteToColumn(StringRef SourceLine, unsigned TabStop, in byteToColumn() argument
214 = printableTextForNextCharacter(SourceLine, &i, TabStop); in byteToColumn()
247 = printableTextForNextCharacter(SourceLine, &i, TabStop); in columnToByte()
256 SourceColumnMap(StringRef SourceLine, unsigned TabStop) in SourceColumnMap()
259 ::byteToColumn(SourceLine, TabStop, m_byteToColumn); in SourceColumnMap()
260 ::columnToByte(SourceLine, TabStop, m_columnToByte); in SourceColumnMap()
[all …]
H A DCompilerInvocation.cpp1542 Opts.TabStop = getLastArgIntValue(Args, OPT_ftabstop, in ParseDiagnosticArgs()
1544 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
1545 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
1548 << Opts.TabStop << DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DSourceMgr.cpp39 static const size_t TabStop = 8; variable
365 } while ((OutCol % TabStop) != 0); in printSourceLine()
477 } while ((OutCol % TabStop) != 0); in print()
504 } while (((OutCol % TabStop) != 0) && i != e); in print()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnosticOptions.def93 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.