[PATCH] D113826: [clang-format][c++2b] support removal of the space between auto and {} in P0849R8
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 13 09:03:36 PST 2021
MyDeveloperDay added a comment.
Sorry my mistake, the 1st 4 I want to keep because they related to the unit tests for D113393: [c++2b] Implement P0849R8 auto(x) <https://reviews.llvm.org/D113393>
foo(auto()); // expected-error {{initializer for functional-style cast to 'auto' is empty}}
foo(auto{}); // expected-error {{initializer for functional-style cast to 'auto' is empty}}
foo(auto({})); // expected-error {{cannot deduce actual type for 'auto' from parenthesized initializer list}}
foo(auto{{}}); // expected-error {{cannot deduce actual type for 'auto' from nested initializer list}}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113826/new/
https://reviews.llvm.org/D113826
More information about the cfe-commits
mailing list