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

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


michele.scandale updated this revision to Diff 245068.
michele.scandale added a comment.

Check for double brackets for C++11 style attributes, and outline the loop to skip attributes in `TrySkipAttributes` to fix also the other use in `TryConsumeDeclarationSpecifier`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74643

Files:
  clang/include/clang/Parse/Parser.h
  clang/lib/Parse/ParseTentative.cpp
  clang/test/CXX/dcl.decl/p4-0x.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74643.245068.patch
Type: text/x-patch
Size: 3559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200218/11b36e6f/attachment.bin>


More information about the cfe-commits mailing list