[PATCH] Store first and last newline position in the token text for string literals and comments.

Daniel Jasper djasper at google.com
Mon Sep 2 06:49:21 PDT 2013



================
Comment at: lib/Format/FormatToken.h:127
@@ +126,3 @@
+
+  /// \brief Whether the token text contains newlines (escaped or not).
+  bool isMultiline() const { return CodePointsInFirstLine != 0; }
----------------
nit: s/Whether/Returns \c true if/


http://llvm-reviews.chandlerc.com/D1556

BRANCH
  svn

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list