[PATCH] D104096: [Clang-Format] Add ReferenceAlignment directive

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 17 01:43:28 PDT 2021


MyDeveloperDay added a comment.

This patch needs rebasing, please also make comments as "Done" once you have addressed them.



================
Comment at: clang/lib/Format/TokenAnnotator.cpp:4162
+    return FormatStyle::PAS_Middle;
+  }
+}
----------------
you are missing a return value here

```
C:\cygwin64\buildareas\clang\llvm-project\clang\lib\Format\TokenAnnotator.cpp(4264) : warning C4715: 'clang::format::TokenAnnotator::getTokenReferenceAlignment': not all control paths return a value
```




Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104096



More information about the cfe-commits mailing list