[PATCH] D133289: [C2X] N3007 Type inference for object definitions

Guillot Tony via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 22:19:21 PDT 2022


to268 updated this revision to Diff 461790.
to268 marked 2 inline comments as done.
to268 added a comment.

I've added more test cases, added a diagnostic when using `auto` in compound literals and advised fixes


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133289

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/ParseExpr.cpp
  clang/lib/Sema/DeclSpec.cpp
  clang/test/C/C2x/n3007.c
  clang/test/CodeGen/auto.c
  clang/test/Parser/c2x-auto.c
  clang/test/Sema/c2x-auto.c
  clang/www/c_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133289.461790.patch
Type: text/x-patch
Size: 18272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220921/15d9cdb7/attachment-0001.bin>


More information about the cfe-commits mailing list