[PATCH] D32298: [clang-format] Turn IncompleteFormat into a string

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 21 02:47:26 PDT 2017


krasimir added inline comments.


================
Comment at: lib/Format/UnwrappedLineFormatter.cpp:845
+      if (!Invalid)
+        os << " This might be due to a syntax error at line " << LineNumber
+           << ".";
----------------
djasper wrote:
> I wonder whether this might be confusing when an unwrapped line spans over multiple physical lines. But I also don't have a much better idea on how to phrase this.
We may wait and see how much people will be confused.


https://reviews.llvm.org/D32298





More information about the cfe-commits mailing list