diff options
author | Haojian Wu <hokein@google.com> | 2018-01-18 08:58:18 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2018-01-18 08:58:18 +0000 |
commit | 0e9a8a5f6f91f843c612af23005980a36d3766fe (patch) | |
tree | 912f046608029bbfe9648b5e69864b57bdc1698d /llvm/lib/CodeGen | |
parent | a5ce243fa334390f6cd8f4e04cd6ed0bf0fd1032 (diff) | |
download | bcm5719-llvm-0e9a8a5f6f91f843c612af23005980a36d3766fe.tar.gz bcm5719-llvm-0e9a8a5f6f91f843c612af23005980a36d3766fe.zip |
[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
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions