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

Richard Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 12 15:52:32 PST 2016


rsmith added a comment.

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();
  }


https://reviews.llvm.org/D27621





More information about the cfe-commits mailing list