[PATCH] D46024: [clang-format] Add SpaceBeforeCpp11BracedList option.

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 12 02:00:52 PDT 2018


hans added a comment.

In https://reviews.llvm.org/D46024#1121242, @rkirsling wrote:

> FWIW, please note that this space-before-brace style is not specific to WebKit; CppCoreGuidelines exhibits it as well:
>  http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es23-prefer-the--initializer-syntax


This and WebKit's style seem like compelling arguments to support this option.

klimek, djasper: Do you have any objections against landing this?


Repository:
  rC Clang

https://reviews.llvm.org/D46024





More information about the cfe-commits mailing list