[clang-tools-extra] r273314 - Fix build of ClangRenameTests

Miklos Vajna via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 21 13:30:40 PDT 2016


Author: vmiklos
Date: Tue Jun 21 15:30:40 2016
New Revision: 273314

URL: http://llvm.org/viewvc/llvm-project?rev=273314&view=rev
Log:
Fix build of ClangRenameTests

Adapt the test to the code change introduced in r273304.

Modified:
    clang-tools-extra/trunk/unittests/clang-rename/USRLocFindingTest.cpp

Modified: clang-tools-extra/trunk/unittests/clang-rename/USRLocFindingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-rename/USRLocFindingTest.cpp?rev=273314&r1=273313&r2=273314&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-rename/USRLocFindingTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-rename/USRLocFindingTest.cpp Tue Jun 21 15:30:40 2016
@@ -23,7 +23,7 @@ static void testOffsetGroups(const char
     // useful.
     std::string USR;
     for (const auto &Offset : Group) {
-      USRFindingAction Action(Offset);
+      USRFindingAction Action(Offset, std::string());
       auto Factory = tooling::newFrontendActionFactory(&Action);
       EXPECT_TRUE(tooling::runToolOnCode(Factory->create(), Code));
       const auto &USRs = Action.getUSRs();




More information about the cfe-commits mailing list