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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits