[llvm] r306784 - Try to appease a buildbot.
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 21:04:44 PDT 2017
Author: vedantk
Date: Thu Jun 29 21:04:44 2017
New Revision: 306784
URL: http://llvm.org/viewvc/llvm-project?rev=306784&view=rev
Log:
Try to appease a buildbot.
The failure is:
C:\ps4-buildslave2\llvm-clang-x86_64-expensive-checks-win\llvm\unittests\ProfileData\CoverageMappingTest.cpp(244):
error C2668: 'llvm::make_unique': ambiguous call to overloaded function
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/3489/
Modified:
llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp
Modified: llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp?rev=306784&r1=306783&r2=306784&view=diff
==============================================================================
--- llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp (original)
+++ llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp Thu Jun 29 21:04:44 2017
@@ -240,8 +240,9 @@ struct CoverageMappingTest : ::testing::
make_unique<CoverageMappingReaderMock>(Funcs));
}
} else {
+ ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions);
CoverageReaders.push_back(
- make_unique<CoverageMappingReaderMock>(OutputFunctions));
+ make_unique<CoverageMappingReaderMock>(Funcs));
}
return CoverageMapping::load(CoverageReaders, *ProfileReader);
}
More information about the llvm-commits
mailing list