llvm-project/clang-tools-extra/test/clang-tidy/Inputs/modernize-smart-ptr
Haojian Wu 0e9a8a5f6f [clang-tidy] Don't generate fix for argument constructed from std::initializer_list.
Summary:
A follow-up fix of rL311652.

The previous `vector` in our test is different with `std::vector`, so
The check still generates fixes for std::vector (`auto p =
std::unique_ptr<Foo>(new Foo({1,2,3}))`) in real world, the patch makes the
vector behavior in test align with std::vector (both AST nodes are the same now).

Reviewers: ilya-biryukov, alexfh

Reviewed By: ilya-biryukov

Subscribers: klimek, xazax.hun, cfe-commits

Differential Revision: https://reviews.llvm.org/D41852

llvm-svn: 322822
2018-01-18 08:58:18 +00:00
..
initializer_list.h [clang-tidy] Don't generate fix for argument constructed from std::initializer_list. 2018-01-18 08:58:18 +00:00
shared_ptr.h
unique_ptr.h Fix up clang-tidy after clang r314037. 2017-09-22 23:47:20 +00:00