So it falls back (from 32) to the default value in Google style:
PenaltyExcessCharacter: 1000000
This way it no longer allows lines exceeding the 100-char limit.
const char* x[] = { "long enough so that the line has 101 chars", nullptr };
would become
const char* x[] = { "long enough so that the line has 101 chars",
nullptr };
Test: clang-format the line above.
Change-Id: If578dbdae55d6d81f5e47889890e2afa12b4199a
15 lines
307 B
YAML
15 lines
307 B
YAML
BasedOnStyle: Google
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: true
|
|
|
|
ColumnLimit: 100
|
|
CommentPragmas: NOLINT:.*
|
|
DerivePointerAlignment: false
|
|
IndentWidth: 2
|
|
PointerAlignment: Left
|
|
TabWidth: 2
|
|
UseTab: Never
|
|
|
|
Cpp11BracedListStyle: false
|