Updating a comment to clarify that SkipUntil handles balanced delimiters.

This commit is contained in:
Aaron Ballman 2020-02-23 14:33:37 -05:00
parent be6d07c920
commit 86cda4c50d
1 changed files with 2 additions and 1 deletions

View File

@ -1113,7 +1113,8 @@ public:
/// 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.