This patch adds support for textual protocol buffer messages.
Details
Diff Detail
- Build Status
Buildable 7778 Build 7778: 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 | ||
---|---|---|
77 | Maybe rename to opensProtoMessageField() and add: if (!LessTok.is(tok::less)) return false; | |
113 | Do we need to set this explicitly here? Is it not enough to set FormatStyle.BinPackParameters to false? | |
lib/Format/TokenAnnotator.cpp | ||
656 | Missing space... | |
lib/Format/UnwrappedLineParser.cpp | ||
1359 | Why not just call nextToken before calling this function instead of adding the "StartInside" parameter? |
Maybe rename to opensProtoMessageField() and add: