[PATCH] D113393: [c++2b] Implement P0849R8 auto(x)

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 28 10:20:47 PST 2022


aaron.ballman added reviewers: erichkeane, Quuxplusone.
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

The changes here LGTM, but I'd appreciate a second set of eyes on it in case I missed anything before this lands.



================
Comment at: clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp:60
+  (void)auto(n);                      // expected-error{{'auto' not allowed here}}
+  (void)auto {n};                     // expected-error{{'auto' not allowed here}}
 }
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113393



More information about the cfe-commits mailing list