[PATCH] Format code around VCS conflict markers.

Manuel Klimek klimek at google.com
Mon Apr 14 01:56:19 PDT 2014



================
Comment at: lib/Format/UnwrappedLineParser.h:111-114
@@ +110,6 @@
+
+  // Marks a conditional compilation edge (for example, an '#if', '#ifdef',
+  // '#else' or merge conflict marker). If 'Unreachable' is true, assumes
+  // this branch either cannot be taken (for example '#if false'), or should
+  // not be taken in this round.
+  void conditionalCompilationCondition(bool Unreachable);
----------------
Daniel Jasper wrote:
> According to this comment, 'unreachable' does not seem like quite the right word. May "Active" or "ProcessBranch"?
Fully agreed - in a follow-up CL.


http://reviews.llvm.org/D3355

BRANCH
  implement-conflict-markers

ARCANIST PROJECT
  clang






More information about the cfe-commits mailing list