Searched defs:IndentLevel (Results 1 - 12 of 12) sorted by relevance

/external/clang/lib/Format/
H A DWhitespaceManager.h50 unsigned IndentLevel, unsigned Spaces,
78 unsigned Newlines, unsigned IndentLevel,
109 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
133 unsigned IndentLevel; member in struct:clang::format::WhitespaceManager::Change
197 void appendIndentText(std::string &Text, unsigned IndentLevel,
H A DBreakableToken.h75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, argument
78 : Tok(Tok), IndentLevel(IndentLevel), InPPDirective(InPPDirective),
82 const unsigned IndentLevel; member in class:clang::format::BreakableToken
98 BreakableSingleLineToken(const FormatToken &Tok, unsigned IndentLevel,
120 BreakableStringLiteral(const FormatToken &Tok, unsigned IndentLevel,
139 BreakableLineComment(const FormatToken &Token, unsigned IndentLevel,
165 BreakableBlockComment(const FormatToken &Token, unsigned IndentLevel,
H A DContinuationIndenter.h148 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace, argument
150 : Indent(Indent), IndentLevel(IndentLevel), LastSpace(LastSpace),
163 unsigned IndentLevel; member in struct:clang::format::ParenState
H A DBreakableToken.cpp145 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn,
148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style),
156 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn,
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix,
182 Prefix, InPPDirective, 1, IndentLevel, LeadingSpaces);
201 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn,
203 : BreakableSingleLineToken(Token, IndentLevel, StartColumn,
230 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn);
238 "", /*InPPDirective=*/false, /*Newlines=*/0, /*IndentLevel=*/0,
247 /*Newlines=*/0, /*IndentLevel
144 BreakableSingleLineToken( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
155 BreakableStringLiteral( const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, StringRef Prefix, StringRef Postfix, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
200 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
252 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
[all...]
H A DWhitespaceManager.cpp30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
40 IsStartOfDeclName(IsStartOfDeclName), IndentLevel(IndentLevel),
51 unsigned IndentLevel, unsigned Spaces,
58 Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, StartOfTokenColumn,
68 Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0,
77 unsigned Newlines, unsigned IndentLevel, int Spaces) {
83 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix,
467 appendIndentText(ReplacementText, C.IndentLevel, std::max(0, C.Spaces),
508 unsigned IndentLevel, unsigne
28 Change( bool CreateReplacement, SourceRange OriginalWhitespaceRange, unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, tok::TokenKind Kind, bool ContinuesPPDirective, bool IsStartOfDeclName) argument
50 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument
74 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument
507 appendIndentText(std::string &Text, unsigned IndentLevel, unsigned Spaces, unsigned WhitespaceStartColumn) argument
[all...]
H A DUnwrappedLineFormatter.cpp554 /*Newlines=*/0, /*IndentLevel=*/0, /*Spaces=*/1,
904 unsigned IndentLevel,
909 Whitespaces->replaceWhitespace(RootToken, Newlines, /*IndentLevel=*/0,
942 Whitespaces->replaceWhitespace(RootToken, Newlines, IndentLevel, Indent,
902 formatFirstToken(FormatToken &RootToken, const AnnotatedLine *PreviousLine, unsigned IndentLevel, unsigned Indent, bool InPPDirective) argument
/external/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp146 unsigned IndentLevel) {
197 renderIndent(OS, IndentLevel);
217 renderIndent(OS, IndentLevel);
223 unsigned NestedIndent = IndentLevel + 1;
233 renderIndent(OS, IndentLevel);
234 OS.indent(CombinedColumnWidth + (IndentLevel == 0 ? 0 : 1));
145 render(raw_ostream &OS, bool WholeFile, unsigned IndentLevel) argument
/external/llvm/tools/llvm-readobj/
H A DStreamWriter.h57 , IndentLevel(0) {
65 IndentLevel += Levels;
69 IndentLevel = std::max(0, IndentLevel - Levels);
73 for (int i = 0; i < IndentLevel; ++i)
287 int IndentLevel; member in class:llvm::StreamWriter
/external/llvm/tools/llvm-bcanalyzer/
H A Dllvm-bcanalyzer.cpp399 unsigned IndentLevel, CurStreamTypeType CurStreamType) {
400 std::string Indent(IndentLevel*2, ' ');
468 if (ParseBlock(Stream, Entry.ID, IndentLevel+1, CurStreamType))
398 ParseBlock(BitstreamCursor &Stream, unsigned BlockID, unsigned IndentLevel, CurStreamTypeType CurStreamType) argument
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp3086 CharUnits Offset, unsigned IndentLevel) {
3088 OS.indent(IndentLevel * 2);
3093 unsigned IndentLevel) {
3106 OS.indent(IndentLevel * 2);
3109 static void PrintIndentNoOffset(raw_ostream &OS, unsigned IndentLevel) { argument
3111 OS.indent(IndentLevel * 2);
3117 unsigned IndentLevel,
3124 PrintOffset(OS, Offset, IndentLevel);
3132 IndentLevel++;
3142 PrintOffset(OS, Offset, IndentLevel);
3085 PrintOffset(raw_ostream &OS, CharUnits Offset, unsigned IndentLevel) argument
3091 PrintBitFieldOffset(raw_ostream &OS, CharUnits Offset, unsigned Begin, unsigned Width, unsigned IndentLevel) argument
3114 DumpRecordLayout(raw_ostream &OS, const RecordDecl *RD, const ASTContext &C, CharUnits Offset, unsigned IndentLevel, const char* Description, bool PrintSizeInfo, bool IncludeVirtualBases) argument
[all...]
H A DStmtPrinter.cpp37 unsigned IndentLevel; member in class:__anon1191::StmtPrinter
45 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {}
52 IndentLevel += SubIndent;
63 IndentLevel -= SubIndent;
84 for (int i = 0, e = IndentLevel+Delta; i < e; ++i)
125 D->print(OS, Policy, IndentLevel);
130 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
316 Node->getLoopVariable()->print(OS, SubPolicy, IndentLevel);
/external/clang/tools/c-index-test/
H A Dc-index-test.c372 int IndentLevel; member in struct:CommentASTDumpingContext
381 Ctx->IndentLevel++;
382 for (i = 0, e = Ctx->IndentLevel; i != e; ++i)
547 Ctx->IndentLevel--;
552 Ctx.IndentLevel = 1;

Completed in 1822 milliseconds