[clang-tidy] Fix make-unique tests on C++2a.
authorHaojian Wu <hokein@google.com>
Thu, 6 Jun 2019 07:48:55 +0000 (07:48 +0000)
committerHaojian Wu <hokein@google.com>
Thu, 6 Jun 2019 07:48:55 +0000 (07:48 +0000)
commit448acbc06febf0f59b74c9426141b5563a147394
treeb60813c313e2ecd6efaa116cf9701ae5d830936c
parent36d1f2443b0d659c213313f72d3769b922fbb1fc
[clang-tidy] Fix make-unique tests on C++2a.

Summary:
These test cases are illgal in C++2a ("new Foo{}" needs to see the
default constructor), so move them to the C++14-only tests.

Reviewers: gribozavr

Subscribers: xazax.hun, cfe-commits

Tags: #clang

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

llvm-svn: 362679
clang-tools-extra/test/clang-tidy/modernize-make-unique-cxx14.cpp [deleted file]
clang-tools-extra/test/clang-tidy/modernize-make-unique-inaccessible-ctors.cpp [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/modernize-make-unique.cpp