/external/clang/lib/Format/ |
D | BreakableToken.h | 75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, in BreakableToken() argument 78 : Tok(Tok), IndentLevel(IndentLevel), InPPDirective(InPPDirective), in BreakableToken() 82 const unsigned IndentLevel; variable 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,
|
D | WhitespaceManager.h | 50 unsigned IndentLevel, unsigned Spaces, 78 unsigned Newlines, unsigned IndentLevel, 110 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, 133 unsigned IndentLevel; member 190 void appendIndentText(std::string &Text, unsigned IndentLevel,
|
D | WhitespaceManager.cpp | 30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, in Change() argument 38 ContinuesPPDirective(ContinuesPPDirective), IndentLevel(IndentLevel), in Change() 47 unsigned IndentLevel, unsigned Spaces, in replaceWhitespace() argument 53 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, in replaceWhitespace() 71 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument 77 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken() 272 appendIndentText(ReplacementText, C.IndentLevel, std::max(0, C.Spaces), in generateChanges() 313 unsigned IndentLevel, unsigned Spaces, in appendIndentText() argument 333 unsigned Indentation = IndentLevel * Style.IndentWidth; in appendIndentText()
|
D | BreakableToken.cpp | 145 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableSingleLineToken() argument 148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), in BreakableSingleLineToken() 156 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableStringLiteral() argument 159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix, in BreakableStringLiteral() 182 Prefix, InPPDirective, 1, IndentLevel, LeadingSpaces); in insertBreak() 201 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, in BreakableLineComment() argument 203 : BreakableSingleLineToken(Token, IndentLevel, StartColumn, in BreakableLineComment() 228 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn); in insertBreak() 252 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, in BreakableBlockComment() argument 255 : BreakableToken(Token, IndentLevel, InPPDirective, Encoding, Style) { in BreakableBlockComment() [all …]
|
D | ContinuationIndenter.h | 145 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace, in ParenState() 147 : Indent(Indent), IndentLevel(IndentLevel), LastSpace(LastSpace), in ParenState() 162 unsigned IndentLevel; member
|
D | ContinuationIndenter.cpp | 422 State.Stack.back().IndentLevel, State.Column, in addTokenOnNewLine() 813 unsigned NewIndentLevel = State.Stack.back().IndentLevel; in moveStatePastScopeOpener() 895 NewIndent, /*NewIndentLevel=*/State.Stack.back().IndentLevel + 1, in moveStateToNewBlock()
|
D | Format.cpp | 992 const AnnotatedLine *PreviousLine, unsigned IndentLevel, in formatFirstToken() argument 1021 Whitespaces->replaceWhitespace(RootToken, Newlines, IndentLevel, Indent, in formatFirstToken()
|
/external/llvm/tools/llvm-readobj/ |
D | StreamWriter.h | 54 , IndentLevel(0) { in StreamWriter() 62 IndentLevel += Levels; 66 IndentLevel = std::max(0, IndentLevel - Levels); 70 for (int i = 0; i < IndentLevel; ++i) in printIndent() 263 int IndentLevel; variable
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 2971 CharUnits Offset, unsigned IndentLevel) { in PrintOffset() argument 2973 OS.indent(IndentLevel * 2); in PrintOffset() 2976 static void PrintIndentNoOffset(raw_ostream &OS, unsigned IndentLevel) { in PrintIndentNoOffset() argument 2978 OS.indent(IndentLevel * 2); in PrintIndentNoOffset() 2984 unsigned IndentLevel, in DumpCXXRecordLayout() argument 2989 PrintOffset(OS, Offset, IndentLevel); in DumpCXXRecordLayout() 2997 IndentLevel++; in DumpCXXRecordLayout() 3005 PrintOffset(OS, Offset, IndentLevel); in DumpCXXRecordLayout() 3008 PrintOffset(OS, Offset, IndentLevel); in DumpCXXRecordLayout() 3034 DumpCXXRecordLayout(OS, Base, C, BaseOffset, IndentLevel, in DumpCXXRecordLayout() [all …]
|
D | StmtPrinter.cpp | 36 unsigned IndentLevel; member in __anon226305b60111::StmtPrinter 44 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter() 51 IndentLevel += SubIndent; in PrintStmt() 62 IndentLevel -= SubIndent; in PrintStmt() 83 for (int i = 0, e = IndentLevel+Delta; i < e; ++i) in Indent() 124 D->print(OS, Policy, IndentLevel); in PrintRawDecl() 129 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); in PrintRawDeclStmt() 315 Node->getLoopVariable()->print(OS, SubPolicy, IndentLevel); in VisitCXXForRangeStmt()
|
/external/llvm/tools/llvm-bcanalyzer/ |
D | llvm-bcanalyzer.cpp | 325 unsigned IndentLevel) { in ParseBlock() argument 326 std::string Indent(IndentLevel*2, ' '); in ParseBlock() 393 if (ParseBlock(Stream, Entry.ID, IndentLevel+1)) in ParseBlock()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 359 int IndentLevel; member 368 Ctx->IndentLevel++; in DumpCXCommentInternal() 369 for (i = 0, e = Ctx->IndentLevel; i != e; ++i) in DumpCXCommentInternal() 534 Ctx->IndentLevel--; in DumpCXCommentInternal() 539 Ctx.IndentLevel = 1; in DumpCXComment()
|