Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DTextDiagnostic.cpp95 unsigned TabStop) { in printableTextForNextCharacter() argument
100 assert(0 < TabStop && TabStop <= DiagnosticOptions::MaxTabStop && in printableTextForNextCharacter()
103 unsigned NumSpaces = TabStop - col%TabStop; in printableTextForNextCharacter()
104 assert(0 < NumSpaces && NumSpaces <= TabStop in printableTextForNextCharacter()
170 static void expandTabs(std::string &SourceLine, unsigned TabStop) { in expandTabs() argument
178 = printableTextForNextCharacter(SourceLine, &tmp_i, TabStop); in expandTabs()
205 static void byteToColumn(StringRef SourceLine, unsigned TabStop, in byteToColumn() argument
221 = printableTextForNextCharacter(SourceLine, &i, TabStop); in byteToColumn()
239 static void columnToByte(StringRef SourceLine, unsigned TabStop, in columnToByte() argument
254 = printableTextForNextCharacter(SourceLine, &i, TabStop); in columnToByte()
[all …]
DCompilerInvocation.cpp401 if (Opts.TabStop != DiagnosticOptions::DefaultTabStop) in DiagnosticOptsToArgs()
402 Res.push_back("-ftabstop", llvm::utostr(Opts.TabStop)); in DiagnosticOptsToArgs()
1448 Opts.TabStop = Args.getLastArgIntValue(OPT_ftabstop, in ParseDiagnosticArgs()
1450 if (Opts.TabStop == 0 || Opts.TabStop > DiagnosticOptions::MaxTabStop) { in ParseDiagnosticArgs()
1451 Opts.TabStop = DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
1454 << Opts.TabStop << DiagnosticOptions::DefaultTabStop; in ParseDiagnosticArgs()
/external/clang/include/clang/Frontend/
DDiagnosticOptions.h59 unsigned TabStop; variable
85 TabStop = DefaultTabStop; in DiagnosticOptions()