[PATCH] D41852: [clang-tidy] Don't generate fix for argument constructed from std::initializer_list.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 08:34:18 PST 2018


ilya-biryukov accepted this revision.
ilya-biryukov added a comment.
This revision is now accepted and ready to land.

LGTM modulo a change to the 'initializer_list.h'. Do we really need it for this patch?



================
Comment at: test/clang-tidy/Inputs/modernize-smart-ptr/initializer_list.h:30
   vector(initializer_list<_E> init);
+  ~vector();
 };
----------------
Why do we need to add this destructor in this patch?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41852





More information about the cfe-commits mailing list