Skip to content

Commit 6365170

Browse files
committed
Fix
1 parent 0218760 commit 6365170

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/testclass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9084,7 +9084,7 @@ class TestClass : public TestFixture {
90849084
const std::string filename = std::to_string(fileInfo.size()) + ".cpp";
90859085
SimpleTokenizer tokenizer{settingsDefault, *this, filename};
90869086
ASSERT(tokenizer.tokenize(c));
9087-
fileInfo.push_back(check.getFileInfo(tokenizer, settingsDefault));
9087+
fileInfo.push_back(check.getFileInfo(tokenizer, settingsDefault, ""));
90889088
}
90899089

90909090
// Check code..
@@ -9130,7 +9130,7 @@ class TestClass : public TestFixture {
91309130

91319131
// Check..
91329132
const Check& c = getCheck<CheckClass>();
9133-
Check::FileInfo * fileInfo = (c.getFileInfo)(tokenizer, settings1);
9133+
Check::FileInfo * fileInfo = (c.getFileInfo)(tokenizer, settings1, "");
91349134

91359135
delete fileInfo;
91369136
}

test/testnullpointer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4587,7 +4587,7 @@ class TestNullPointer : public TestFixture {
45874587
// Check code..
45884588
std::list<Check::FileInfo*> fileInfo;
45894589
Check& c = getCheck<CheckNullPointer>();
4590-
fileInfo.push_back(c.getFileInfo(tokenizer, settings));
4590+
fileInfo.push_back(c.getFileInfo(tokenizer, settings, ""));
45914591
c.analyseWholeProgram(*ctu, fileInfo, settings, *this); // TODO: check result
45924592
while (!fileInfo.empty()) {
45934593
delete fileInfo.back();

test/testuninitvar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7923,7 +7923,7 @@ class TestUninitVar : public TestFixture {
79237923
// Check code..
79247924
std::list<Check::FileInfo*> fileInfo;
79257925
Check& c = getCheck<CheckUninitVar>();
7926-
fileInfo.push_back(c.getFileInfo(tokenizer, settings));
7926+
fileInfo.push_back(c.getFileInfo(tokenizer, settings, ""));
79277927
c.analyseWholeProgram(*ctu, fileInfo, settings, *this); // TODO: check result
79287928
while (!fileInfo.empty()) {
79297929
delete fileInfo.back();

0 commit comments

Comments
 (0)