This patch adds support for textual protocol buffer messages.
Details
Diff Detail
- Build Status
Buildable 7442 Build 7442: arc lint + arc unit
Event Timeline
Tests for <>-style message fields are missing because I discovered that they don't really work in a multiline setting in proto options anyways. I'll address this problem separately.
- Add initial support for <>-style message fields
- Added single-line tests
- Added multiline message proto tests
lib/Format/ContinuationIndenter.cpp | ||
---|---|---|
69 | Maybe rename to opensProtoMessageField() and add: if (!LessTok.is(tok::less)) return false; | |
95 | Do we need to set this explicitly here? Is it not enough to set FormatStyle.BinPackParameters to false? | |
lib/Format/TokenAnnotator.cpp | ||
647 | Missing space... | |
lib/Format/UnwrappedLineParser.cpp | ||
1355 | Why not just call nextToken before calling this function instead of adding the "StartInside" parameter? |
Maybe rename to opensProtoMessageField() and add: