Skip to content

Commit 30a8651

Browse files
committed
fixed #14591 - store CTU function call information with proper slashes
1 parent 2179eae commit 30a8651

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ctu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ std::string CTU::FileInfo::FunctionCall::toXmlString() const
112112
out << ">\n";
113113
for (const ErrorMessage::FileLocation &loc : callValuePath)
114114
out << " <path"
115-
<< " " << ATTR_LOC_FILENAME << "=\"" << ErrorLogger::toxml(loc.getfile()) << "\""
115+
<< " " << ATTR_LOC_FILENAME << "=\"" << ErrorLogger::toxml(loc.getfile(false)) << "\""
116116
<< " " << ATTR_LOC_LINENR << "=\"" << loc.line << "\""
117117
<< " " << ATTR_LOC_COLUMN << "=\"" << loc.column << "\""
118118
<< " " << ATTR_INFO << "=\"" << ErrorLogger::toxml(loc.getinfo()) << "\"/>\n";

0 commit comments

Comments
 (0)