[PATCH] D44203: [clang-format] Improve Incomplete detection for (text) protos
Krasimir Georgiev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 7 05:16:17 PST 2018
krasimir created this revision.
krasimir added a reviewer: sammccall.
Herald added subscribers: cfe-commits, klimek.
This patch improves detection of incomplete code for protos and text protos.
This is especially important for text protos in raw string literals, since they
might be partial strings concatenated, and we'd like to disable formatting in
these cases.
Repository:
rC Clang
https://reviews.llvm.org/D44203
Files:
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestTextProto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44203.137365.patch
Type: text/x-patch
Size: 7820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180307/85c6c550/attachment-0001.bin>
More information about the cfe-commits
mailing list