[PATCH] Replaced bool parameters in SkipUntil function with single bit-based parameter.

Alexey Bataev a.bataev at hotmail.com
Wed Nov 6 19:09:41 PST 2013



================
Comment at: include/clang/Parse/Parser.h:740
@@ +739,3 @@
+
+  // Control flags for SkipUntil fanctions.
+  enum SkipUntilFlags {
----------------
hfinkel at anl.gov wrote:
> Typo: factions -> actions
Actually "functions" :). Will be fixed.

================
Comment at: include/clang/Parse/Parser.h:751
@@ -741,3 +750,3 @@
   /// token will ever occur, this skips to the next token, or to some likely
-  /// good stopping point.  If StopAtSemi is true, skipping will stop at a ';'
-  /// character.
+  /// good stopping point.  If Flags has bit set at StopAtSemi, skipping will
+  /// stop at a ';' character.
----------------
David Majnemer wrote:
> The wording "has bit set" seems strange.
Will be fixed.


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



More information about the cfe-commits mailing list