[clang] 86cda4c - Updating a comment to clarify that SkipUntil handles balanced delimiters.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 23 11:34:31 PST 2020


Author: Aaron Ballman
Date: 2020-02-23T14:34:19-05:00
New Revision: 86cda4c50da4fe31771f866071c8516199c7c2b0

URL: https://github.com/llvm/llvm-project/commit/86cda4c50da4fe31771f866071c8516199c7c2b0
DIFF: https://github.com/llvm/llvm-project/commit/86cda4c50da4fe31771f866071c8516199c7c2b0.diff

LOG: Updating a comment to clarify that SkipUntil handles balanced delimiters.

Added: 
    

Modified: 
    clang/include/clang/Parse/Parser.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h
index 621e179c382f..879c7fdf682d 100644
--- a/clang/include/clang/Parse/Parser.h
+++ b/clang/include/clang/Parse/Parser.h
@@ -1113,7 +1113,8 @@ class Parser : public CodeCompletionHandler {
   /// it (unless StopBeforeMatch is specified).  Because we cannot guarantee
   /// that the token will ever occur, this skips to the next token, or to some
   /// likely good stopping point.  If Flags has StopAtSemi flag, skipping will
-  /// stop at a ';' character.
+  /// stop at a ';' character. Balances (), [], and {} delimiter tokens while
+  /// skipping.
   ///
   /// If SkipUntil finds the specified token, it returns true, otherwise it
   /// returns false.


        


More information about the cfe-commits mailing list