/external/clang/lib/Format/ |
H A D | WhitespaceManager.h | 50 unsigned IndentLevel, unsigned Spaces, 62 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix 66 /// Note: \p Spaces can be negative to retain information about initial 69 /// alignment here. In all other cases negative \p Spaces will be truncated to 72 /// When \p InPPDirective is true, escaped newlines are inserted. \p Spaces is 79 int Spaces); 104 /// \p PreviousLinePostfix, \p NewlinesBefore line breaks, \p Spaces spaces 110 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, 140 int Spaces; member in struct:clang::format::WhitespaceManager::Change 191 unsigned Spaces, unsigne [all...] |
H A D | WhitespaceManager.cpp | 30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, 39 Spaces(Spaces) {} 47 unsigned IndentLevel, unsigned Spaces, 53 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, 63 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore, 71 unsigned Newlines, unsigned IndentLevel, int Spaces) { 77 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, 222 Changes[i].Spaces 28 Change( bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, tok::TokenKind Kind, bool ContinuesPPDirective) argument 46 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument 68 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument 312 appendIndentText(std::string &Text, unsigned IndentLevel, unsigned Spaces, unsigned WhitespaceStartColumn) argument [all...] |
H A D | ContinuationIndenter.cpp | 277 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; local 281 Spaces, State.Column + Spaces); 288 State.Column + Spaces + Current.ColumnWidth) 292 State.Stack.back().ColonPos = State.Column + Spaces + Current.ColumnWidth; 297 State.Stack.back().Indent = State.Column + Spaces; 303 State.Column += Spaces;
|
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag.cc | 243 unsigned Spaces = 0; local 250 Spaces += (P % 8) == 0 ? 2 : 1; 253 while (Spaces--) 261 Spaces += 2;
|
/external/clang/unittests/Format/ |
H A D | FormatTest.cpp | 7549 FormatStyle Spaces = getLLVMStyle(); local 7551 Spaces.SpacesInParentheses = true; 7552 verifyFormat("call( x, y, z );", Spaces); 7554 " continue;", Spaces); 7556 " continue;", Spaces); 7560 " f();", Spaces); 7563 "} while ( something() );", Spaces); 7567 "}", Spaces); 7569 Spaces.SpacesInParentheses = false; 7570 Spaces 7614 FormatStyle Spaces = getLLVMStyle(); local 8956 FormatStyle Spaces = getLLVMStyle(); local [all...] |
/external/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 399 static const char Spaces[] = " " local 404 if (NumSpaces < array_lengthof(Spaces)) 405 return write(Spaces, NumSpaces); 409 (unsigned)array_lengthof(Spaces)-1); 410 write(Spaces, NumToWrite);
|