Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp2404 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
2405 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
2407 << Opts.TabStop << DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
/llvm-project-15.0.7/llvm/lib/Support/
H A DSourceMgr.cpp38 static const size_t TabStop = 8; variable
473 } while ((OutCol % TabStop) != 0); in printSourceLine()
582 } while ((OutCol % TabStop) != 0); in print()
609 } while (((OutCol % TabStop) != 0) && i != e); in print()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticOptions.def94 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp1339 unsigned TabStop = SM.getDiagnostics().getDiagnosticOptions().TabStop; in getVisualIndentation() local
1342 if (ColNo == 0 || TabStop == 1) in getVisualIndentation()
1364 VisualColumn += (TabStop - VisualColumn % TabStop); in getVisualIndentation()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp473 unsigned TabStop = getInstStartColumn(STI); in AlignToInstStartColumn() local
475 OS.indent(Column < TabStop - 1 ? TabStop - 1 - Column : 7 - Column % 8); in AlignToInstStartColumn()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DOptions.td5608 MarshallingInfoInt<DiagnosticOpts<"TabStop">, "DiagnosticOptions::DefaultTabStop">;