From a1f6980af785f241d530ae99c8ce8d566e821e3d Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 26 Sep 2017 14:53:00 -0700 Subject: clang-format: Remove the override of PenaltyExcessCharacter. 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 --- .clang-format | 1 - 1 file changed, 1 deletion(-) diff --git a/.clang-format b/.clang-format index 532278864..0e0f4d143 100644 --- a/.clang-format +++ b/.clang-format @@ -10,6 +10,5 @@ IndentWidth: 2 PointerAlignment: Left TabWidth: 2 UseTab: Never -PenaltyExcessCharacter: 32 Cpp11BracedListStyle: false -- cgit v1.2.3