[PATCH] D27621: [clang-tidy] check to find declarations declaring more than one name

Firat Kasmis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 13 05:17:15 PST 2016


firolino added a comment.

In https://reviews.llvm.org/D27621#620464, @rsmith wrote:

> Please add a test to make sure this does not fire on C++17 decomposition declarations:
>
>   void f() {
>     struct X { int a, b, c; };
>     auto [a, b, c] = X();
>   }


Done. Thanks!


https://reviews.llvm.org/D27621





More information about the cfe-commits mailing list