[PATCH] D111175: [Clang] Extend init-statement to allow alias-declaration

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 7 00:29:41 PDT 2021


cor3ntin updated this revision to Diff 377755.
cor3ntin marked an inline comment as done.
cor3ntin added a comment.

- Modify ParseUsingDeclaration to only parse an alias in init statememts
- Make the c++23 extebsion warning clearer
- Nitpicks.

The error is now 'expected '=', which seems good enough in that scenario.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111175

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Parse/Parser.h
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Parse/ParseExprCXX.cpp
  clang/lib/Parse/ParseStmt.cpp
  clang/lib/Parse/ParseTentative.cpp
  clang/test/Parser/cxx2b-init-statement.cpp
  clang/test/SemaCXX/cxx2b-init-statement.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111175.377755.patch
Type: text/x-patch
Size: 11736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211007/645014be/attachment-0001.bin>


More information about the cfe-commits mailing list