Skip to content

Commit 657874c

Browse files
committed
Fix builddir
1 parent 04083fb commit 657874c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/checkclass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3583,6 +3583,7 @@ namespace
35833583
for (const NameLoc &nameLoc: classDefinitions) {
35843584
ret += "<class name=\"" + ErrorLogger::toxml(nameLoc.className) +
35853585
"\" file=\"" + ErrorLogger::toxml(nameLoc.fileName) +
3586+
"\" configuration=\"" + ErrorLogger::toxml(nameLoc.configuration) +
35863587
"\" line=\"" + std::to_string(nameLoc.lineNumber) +
35873588
"\" col=\"" + std::to_string(nameLoc.column) +
35883589
"\" hash=\"" + std::to_string(nameLoc.hash) +
@@ -3671,13 +3672,15 @@ Check::FileInfo * CheckClass::loadFileInfoFromXml(const tinyxml2::XMLElement *xm
36713672
continue;
36723673
const char *name = e->Attribute("name");
36733674
const char *file = e->Attribute("file");
3675+
const char *configuration = e->Attribute("configuration");
36743676
const char *line = e->Attribute("line");
36753677
const char *col = e->Attribute("col");
36763678
const char *hash = e->Attribute("hash");
3677-
if (name && file && line && col && hash) {
3679+
if (name && file && configuration && line && col && hash) {
36783680
MyFileInfo::NameLoc nameLoc;
36793681
nameLoc.className = name;
36803682
nameLoc.fileName = file;
3683+
nameLoc.configuration = configuration;
36813684
nameLoc.lineNumber = strToInt<int>(line);
36823685
nameLoc.column = strToInt<int>(col);
36833686
nameLoc.hash = strToInt<std::size_t>(hash);

0 commit comments

Comments
 (0)