Home
last modified time | relevance | path

Searched refs:TabStop (Results 1 – 11 of 11) 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-project/clang/lib/Frontend/
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()
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.cpp1852 Opts.TabStop = getLastArgIntValue(Args, OPT_ftabstop, in ParseDiagnosticArgs()
1854 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
1855 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
1858 << 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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp38 static const size_t TabStop = 8; variable
359 } while ((OutCol % TabStop) != 0); in printSourceLine()
471 } while ((OutCol % TabStop) != 0); in print()
498 } while (((OutCol % TabStop) != 0) && i != e); in print()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp38 static const size_t TabStop = 8; variable
468 } while ((OutCol % TabStop) != 0); in printSourceLine()
579 } while ((OutCol % TabStop) != 0); in print()
606 } 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.
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticOptions.def95 VALUE_DIAGOPT(TabStop, 32, DefaultTabStop) /// The distance between tab stops.
/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1260 unsigned TabStop = SM.getDiagnostics().getDiagnosticOptions().TabStop; in getVisualIndentation() local
1263 if (ColNo == 0 || TabStop == 1) in getVisualIndentation()
1285 VisualColumn += (TabStop - VisualColumn % TabStop); in getVisualIndentation()
/external/llvm-project/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp1150 unsigned TabStop = getInstStartColumn(STI); in printInst() local
1152 OS.indent(Column < TabStop - 1 ? TabStop - 1 - Column : 7 - Column % 8); in printInst()