Fix unittest build with GCC older than 5.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 28 Jun 2018 13:31:36 +0000 (13:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 28 Jun 2018 13:31:36 +0000 (13:31 +0000)
commit456ee300364f4eb3337b679866bf4d84051c4556
treec91da0e800fdf469d1bf78171490b45fcdf2febe
parent61914d38dd5a0f1866d911a408d5070089379213
Fix unittest build with GCC older than 5.

Old GCCs have an annoying bug where RVO disables the automatic
conversion to base for unique_ptr. Add a pessimizing std::move as a
workaround.

llvm-svn: 335854
clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp