Searched refs:TabStop (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 99 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 D | CompilerInvocation.cpp | 2404 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 D | SourceMgr.cpp | 38 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 D | DiagnosticOptions.def | 94 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1339 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 D | llvm-objdump.cpp | 473 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 D | Options.td | 5608 MarshallingInfoInt<DiagnosticOpts<"TabStop">, "DiagnosticOptions::DefaultTabStop">;
|