[PATCH] D62845: [clang-tidy] Fix make-unique tests on C++2a.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 01:44:52 PDT 2019


hokein created this revision.
hokein added a reviewer: gribozavr.
Herald added a subscriber: xazax.hun.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62845

Files:
  clang-tools-extra/test/clang-tidy/modernize-make-unique-cxx14.cpp
  clang-tools-extra/test/clang-tidy/modernize-make-unique.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62845.202873.patch
Type: text/x-patch
Size: 6966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190604/6db0f3dd/attachment.bin>


More information about the cfe-commits mailing list