forked from OSchip/llvm-project
Fix build of ClangRenameTests
Adapt the test to the code change introduced in r273304. llvm-svn: 273314
This commit is contained in:
parent
d7ebcfb291
commit
b70539c317
|
@ -23,7 +23,7 @@ static void testOffsetGroups(const char *Code,
|
|||
// 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();
|
||||
|
|
Loading…
Reference in New Issue