[PATCH] D74643: [Parse] Consider attributes in `TryParsePtrOperatorSeq`.

Michele Scandale via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 17 18:57:02 PST 2020


michele.scandale marked an inline comment as done.
michele.scandale added inline comments.


================
Comment at: clang/lib/Parse/ParseTentative.cpp:798
+        if (Tok.is(tok::l_square)) {
+          ConsumeBracket();
+          if (!SkipUntil(tok::r_square))
----------------
rjmccall wrote:
> Do you want to check for double-brackets here?
The copy of the code I was replicating here wasn't doing that. But it makes sense to check at least that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74643/new/

https://reviews.llvm.org/D74643





More information about the cfe-commits mailing list