Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp99 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()
197 static void byteToColumn(StringRef SourceLine, unsigned TabStop, in byteToColumn() argument
213 = printableTextForNextCharacter(SourceLine, &i, TabStop); in byteToColumn()
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()
[all …]
H A DCompilerInvocation.cpp2309 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
2310 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
2312 << Opts.TabStop << DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp38 static const size_t TabStop = 8; variable
466 } while ((OutCol % TabStop) != 0); in printSourceLine()
575 } while ((OutCol % TabStop) != 0); in print()
602 } while (((OutCol % TabStop) != 0) && i != e); in print()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.def94 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1268 unsigned TabStop = SM.getDiagnostics().getDiagnosticOptions().TabStop; in getVisualIndentation() local
1271 if (ColNo == 0 || TabStop == 1) in getVisualIndentation()
1293 VisualColumn += (TabStop - VisualColumn % TabStop); in getVisualIndentation()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp483 unsigned TabStop = getInstStartColumn(STI); in printInst() local
485 OS.indent(Column < TabStop - 1 ? TabStop - 1 - Column : 7 - Column % 8); in printInst()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td5148 MarshallingInfoInt<DiagnosticOpts<"TabStop">, "DiagnosticOptions::DefaultTabStop">;