[PATCH] D109951: [clang-format] Constructor initializer lists format with pp directives

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 17 12:03:50 PDT 2021


HazardyKnusperkeks added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:19271
 
+TEST_F(FormatTest, ConstructorInitializersWithPreprocessorDirective) {
+  FormatStyle Style = getLLVMStyle();
----------------
>From the name I would expect also to check
```SomeClass::SomeClass()
  : a{a},
    b{b}
...
```
With and without the PP directive.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109951/new/

https://reviews.llvm.org/D109951



More information about the cfe-commits mailing list