Searched refs:Spaces (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Format/
H A DWhitespaceManager.h50 unsigned IndentLevel, unsigned Spaces,
62 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix
66 /// When \p InPPDirective is true, escaped newlines are inserted. \p Spaces is
73 unsigned Spaces);
98 /// \p PreviousLinePostfix, \p NewlinesBefore line breaks, \p Spaces spaces
104 unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn,
131 unsigned Spaces; member in struct:clang::format::WhitespaceManager::Change
171 unsigned Spaces, unsigned WhitespaceStartColumn);
H A DWhitespaceManager.cpp31 unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn,
40 Spaces(Spaces) {}
48 unsigned IndentLevel, unsigned Spaces,
54 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces,
64 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore,
72 unsigned Newlines, unsigned IndentLevel, unsigned Spaces) {
79 IndentLevel, Spaces, Spaces, Newlines, PreviousPostfix, CurrentPrefix,
195 Changes[i].Spaces
29 Change( bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, tok::TokenKind Kind, bool ContinuesPPDirective) argument
47 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument
69 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, unsigned Spaces) argument
284 appendIndentText(std::string &Text, unsigned IndentLevel, unsigned Spaces, unsigned WhitespaceStartColumn) argument
[all...]
H A DContinuationIndenter.cpp252 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; local
256 Spaces, State.Column + Spaces);
260 State.Column + Spaces + Current.ColumnWidth)
264 State.Stack.back().ColonPos = State.Column + Spaces + Current.ColumnWidth;
269 State.Stack.back().Indent = State.Column + Spaces;
275 State.Column += Spaces;
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A Draw_ostream.cpp393 static const char Spaces[] = " " local
398 if (NumSpaces < array_lengthof(Spaces))
399 return write(Spaces, NumSpaces);
403 (unsigned)array_lengthof(Spaces)-1);
404 write(Spaces, NumToWrite);

Completed in 174 milliseconds