diff --git a/.clang-format b/.clang-format index 54a39fdb4d..5d6deb9871 100644 --- a/.clang-format +++ b/.clang-format @@ -79,3 +79,4 @@ PenaltyExcessCharacter: 100 Standard: Cpp11 ContinuationIndentWidth: 8 ForEachMacros: [ 'cds_lfs_for_each', 'cds_lfs_for_each_safe', 'cds_list_for_each_entry_safe', 'ISC_LIST_FOREACH', 'ISC_LIST_FOREACH_SAFE', 'ISC_LIST_FOREACH_REV', 'ISC_LIST_FOREACH_REV_SAFE' ] +RemoveParentheses: ReturnStatement diff --git a/.clang-format.headers b/.clang-format.headers index 4b4d091fa2..0f8ff5ac80 100644 --- a/.clang-format.headers +++ b/.clang-format.headers @@ -78,3 +78,4 @@ PenaltyBreakString: 80 PenaltyExcessCharacter: 100 Standard: Cpp11 ContinuationIndentWidth: 8 +RemoveParentheses: ReturnStatement