[PATCH] D88227: [clang-format] Add a SpaceBeforePointerQualifiers style option

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 14:26:43 PDT 2020


MyDeveloperDay added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:2181
+  /// \endcode
+  bool SpaceBeforePointerQualifiers;
+
----------------
I wonder if a request would ever say they wanted this Space before to be Left/Middle/Right? perhaps this should not be a bool?

```
void* const *x;
void * const *x;
void *const *x;
```

```
void* const *x;
void * const *x;
void *const *x;
```

```
void* const * x;
void * const * x;
void *const * x;
```

```
void* const* x;
void * const* x;
void *const* x;
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88227



More information about the cfe-commits mailing list