clang-format produced code that (choose all that apply):
- Doesn't match Chromium style
- Riles my finely honed stylistic dander
- No sane human would ever choose
Here's the code before formatting:
// clang-format off
// TODO( crbug.com/781018 ): Clang isn't formatting this correctly.
default @Nullable Pair<String, String> getLogs() {
return null;
}
// clang-format on
Here's the code after formatting:
// clang-format off
// TODO( crbug.com/781018 ): Clang isn't formatting this correctly.
default @Nullable Pair<String, String> getLogs() {
return null;
}
// clang-format on
Here's how it ought to look:
// clang-format off
// TODO( crbug.com/781018 ): Clang isn't formatting this correctly.
default @Nullable Pair<String, String> getLogs() {
return null;
}
// clang-format on
Comment 1 by dtrainor@chromium.org
, Nov 8 2017