projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6d07c
)
Updating a comment to clarify that SkipUntil handles balanced delimiters.
author
Aaron Ballman
<aaron@aaronballman.com>
Sun, 23 Feb 2020 19:33:37 +0000
(14:33 -0500)
committer
Aaron Ballman
<aaron@aaronballman.com>
Sun, 23 Feb 2020 19:34:19 +0000
(14:34 -0500)
clang/include/clang/Parse/Parser.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/Parse/Parser.h
b/clang/include/clang/Parse/Parser.h
index 621e179c382ffa1a31ee5cf9e97924f0d51b6042..879c7fdf682d60b4f4291f63724df10b560c75c5 100644
(file)
--- a/
clang/include/clang/Parse/Parser.h
+++ b/
clang/include/clang/Parse/Parser.h
@@
-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.