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

/external/clang/lib/Format/
H A DContinuationIndenter.h65 unsigned ExtraSpaces = 0);
108 unsigned ExtraSpaces);
H A DFormatToken.cpp91 unsigned ExtraSpaces = 0; local
96 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item];
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
H A DContinuationIndenter.cpp230 unsigned ExtraSpaces) {
252 addTokenOnCurrentLine(State, DryRun, ExtraSpaces);
258 unsigned ExtraSpaces) {
277 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces;
228 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument
257 addTokenOnCurrentLine(LineState &State, bool DryRun, unsigned ExtraSpaces) argument
/external/clang/unittests/Format/
H A DFormatTest.cpp5435 FormatStyle ExtraSpaces = getLLVMStyle(); local
5436 ExtraSpaces.Cpp11BracedListStyle = false;
5437 ExtraSpaces.ColumnLimit = 75;
5438 verifyFormat("vector<int> x{ 1, 2, 3, 4 };", ExtraSpaces);
5439 verifyFormat("vector<T> x{ {}, {}, {}, {} };", ExtraSpaces);
5440 verifyFormat("f({ 1, 2 });", ExtraSpaces);
5441 verifyFormat("auto v = Foo{ 1 };", ExtraSpaces);
5442 verifyFormat("f({ 1, 2 }, { { 2, 3 }, { 4, 5 } }, c, { d });", ExtraSpaces);
5443 verifyFormat("Class::Class : member{ 1, 2, 3 } {}", ExtraSpaces);
5444 verifyFormat("new vector<int>{ 1, 2, 3 };", ExtraSpaces);
[all...]

Completed in 1605 milliseconds