[PATCH] D10370: clang-format: Implement AlwaysBreakAfterDeclarationReturnType.

Zachary Turner via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 18 11:26:49 PST 2015


zturner added inline comments.

================
Comment at: lib/Format/TokenAnnotator.h:168
@@ -158,1 +167,3 @@
 
+  bool mustBreakForReturnType(const AnnotatedLine &Line,
+                              FormatToken &Token) const;
----------------
djasper wrote:
> Some comment might help. E.g. at the very least, does that mean must break before or after "Token" (alternatively, name that Left or Right).
Turns out this variable wasn't even used.  I'll just delete it.


http://reviews.llvm.org/D10370





More information about the cfe-commits mailing list