Searched defs:ExtraSpaces (Results 1 - 3 of 3) sorted by relevance
/external/clang/lib/Format/ |
H A D | FormatToken.cpp | 107 unsigned ExtraSpaces = 0; local 112 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; 124 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
|
H A D | ContinuationIndenter.cpp | 258 unsigned ExtraSpaces) { 286 addTokenOnCurrentLine(State, DryRun, ExtraSpaces); 292 unsigned ExtraSpaces) { 311 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; 256 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument 291 addTokenOnCurrentLine(LineState &State, bool DryRun, unsigned ExtraSpaces) argument
|
/external/clang/unittests/Format/ |
H A D | FormatTest.cpp | 6372 FormatStyle ExtraSpaces = getLLVMStyle(); local 6373 ExtraSpaces.Cpp11BracedListStyle = false; 6374 ExtraSpaces.ColumnLimit = 75; 6375 verifyFormat("vector<int> x{ 1, 2, 3, 4 };", ExtraSpaces); 6376 verifyFormat("vector<T> x{ {}, {}, {}, {} };", ExtraSpaces); 6377 verifyFormat("f({ 1, 2 });", ExtraSpaces); 6378 verifyFormat("auto v = Foo{ 1 };", ExtraSpaces); 6379 verifyFormat("f({ 1, 2 }, { { 2, 3 }, { 4, 5 } }, c, { d });", ExtraSpaces); 6380 verifyFormat("Class::Class : member{ 1, 2, 3 } {}", ExtraSpaces); 6381 verifyFormat("new vector<int>{ 1, 2, 3 };", ExtraSpaces); [all...] |
Completed in 385 milliseconds