| 296 | } |
| 297 | |
| 298 | static CppcheckLibraryData::PodType loadPodType(const QXmlStreamReader &xmlReader) |
| 299 | { |
| 300 | CppcheckLibraryData::PodType podtype; |
| 301 | podtype.name = xmlReader.attributes().value("name").toString(); |
| 302 | if (podtype.name.isEmpty()) { |
| 303 | mandatoryAttibuteMissing(xmlReader, "name"); |
| 304 | } |
| 305 | podtype.stdtype = xmlReader.attributes().value("stdtype").toString(); |
| 306 | podtype.size = xmlReader.attributes().value("size").toString(); |
| 307 | podtype.sign = xmlReader.attributes().value("sign").toString(); |
| 308 | return podtype; |
| 309 | } |
| 310 | |
| 311 | static CppcheckLibraryData::PlatformType loadPlatformType(QXmlStreamReader &xmlReader) |
| 312 | { |
no test coverage detected