[PATCH] D103286: [clang-format] Add PPIndentWidth option

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 30 04:25:20 PDT 2021


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:3447
+               style);
+}
+
----------------
can you add a test

```
#ifdef X
   void foo() {
       ...
   }
#endif
```

its unclear if PPIndentWidth affects code in #ifdef or just # preprocessor instructions


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103286



More information about the cfe-commits mailing list