[PATCH] D67460: clang-tidy: modernize-use-using work with multi-argument templates

Conrad Poelman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 14:37:41 PDT 2019


poelmanc updated this revision to Diff 220002.
poelmanc added a comment.

Nice catch, that simplifies the code quite a bit! I added two more nested, complex multiple-template-argument tests and am happy to add more.

(We could do a case fallthrough after tok::l_brace, though some linters warn about them.)


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D67460

Files:
  clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
  clang-tools-extra/test/clang-tidy/modernize-use-using.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67460.220002.patch
Type: text/x-patch
Size: 5181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190912/3deb2a2a/attachment-0001.bin>


More information about the cfe-commits mailing list