[PATCH] D43298: [clang-format] Support repeated field lists in protos
Daniel Jasper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 05:34:45 PST 2018
djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.
Looks good.
================
Comment at: lib/Format/TokenAnnotator.cpp:2355
+ ((Right.MatchingParen->is(TT_ArrayInitializerLSquare) &&
+ (Style.SpacesInContainerLiterals ||
+ ((Style.Language == FormatStyle::LK_Proto ||
----------------
This is almost a duplicate of the one above. Can we pull out a function or lambda?
Repository:
rC Clang
https://reviews.llvm.org/D43298
More information about the cfe-commits
mailing list