Support for proto text format in .proto files

Kaushik Sridharan skaushik at google.com
Fri Jul 25 02:12:54 PDT 2014


Hello,

This patch adds support for formatting proto text format embedded in .proto
files.

This kind of embedded text
​can ​
appear in custom field options in
​.​
proto files.
For example:

​    ​
option (MyProto.options) = {
​    ​
  field_a: OK
​    ​
  field_b: 123
​    ​
  msg_field: { field_c: 123 }
​    ​
};

​​​Thanks,

-K​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140725/188bee78/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-proto-options-fix.patch
Type: text/x-patch
Size: 3619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140725/188bee78/attachment.bin>


More information about the cfe-commits mailing list