diff options
| author | Bernie Innocenti <codewiz@google.com> | 2018-06-07 19:49:59 +0900 |
|---|---|---|
| committer | Bernie Innocenti <codewiz@google.com> | 2018-06-07 19:57:57 +0900 |
| commit | 68ba3c3d9a5eba70812099cfc31c534142f696e9 (patch) | |
| tree | 56a3efb164fadfb673e1c43e8e6e7f2ef99da953 /trusty/coverage/coverage_test.cpp | |
| parent | 5c1d56dffa0c05ad6332ea6d9d31606ac782da44 (diff) | |
clang-format: Double-indent continuation lines
The default value for ContinuationIndentWidth inherited from the Google
style is 4. Since .clang-format-4 doubles the value of IndentWidth
from 2 to 4, it should also double ContinuationIndentWidth to retain
Google's double-indent style.
Before:
void forEachInterface(
const std::string& dirname,
const std::function<void(const std::string& path)) {
fn(dirname, "default");
DIR* dir = opendir(dirname.c_str());
After this patch:
void forEachInterface(
const std::string& dirname,
const std::function<void(const std::string& path)) {
fn(dirname, "default");
DIR* dir = opendir(dirname.c_str());
Test: applied to libsysutils/src/*.cpp and compared output.
Change-Id: I75c50fa9becd5291a17047933f443cc6db77838a
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
