History log of /system/core/metricsd/.clang-format
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d8306123056fe19d77ec32b90da7b3e2675d3412 26-Jan-2016 Alex Deymo <deymo@google.com> Add BinPackArguments: false to .clang-format

Without this setting, arguments passed to a function can be packed in
more than one line, with more than one argument per line.

For example, the following code will be formated as this without the
BinPackArguments:

CallMyFunction(
with_more_than_one, argument_per_line,
event_they_dont_fit_in_a_single_line);

On the other hand, with BinPackArguments: false, that code will be
split in:
CallMyFunction(
with_more_than_one,
argument_per_line,
event_they_dont_fit_in_a_single_line);

or all the arguments in the same line if they all fit.

Bug: None
TEST=None

Change-Id: I48627e66e2a841f89418c0763e7fe6c3e6ea7387
/system/core/metricsd/.clang-format
0c7e29b42e26e54b77ccb84e94e6584da5d97606 23-Nov-2015 Bertrand SIMONNET <bsimonnet@google.com> metricsd: Add clang format config.

This will make it easier to catch formatting nits.
This style is based on the Google style guide (well known publicly) and
follows the Chromium style changes we have adopted.

Bug: 25887990

Change-Id: If9562223752dfe611a32c341e703338f806bcc0f
/system/core/metricsd/.clang-format