r189663 - clang-format: Enable formatting of protocol buffer definitions.

Sean Silva silvas at purdue.edu
Fri Aug 30 20:38:11 PDT 2013


On Fri, Aug 30, 2013 at 6:36 AM, Daniel Jasper <djasper at google.com> wrote:

> Almost by accident, clang-format seems to be able to format protocol
> buffer definitions (https://code.google.com/p/protobuf/).
>

wtf? Can you maybe explain how this can possibly work?

E.g. how "message" is being accepted in place of "struct"/"class" and how
"required" can be accepted in front of a declaration?

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130830/99b0db33/attachment.html>


More information about the cfe-commits mailing list