MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / unhandledElement

Function unhandledElement

gui/cppchecklibrarydata.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34const unsigned int CppcheckLibraryData::Function::Arg::VARIADIC = ~1U;
35
36NORETURN static void unhandledElement(const QXmlStreamReader &xmlReader)
37{
38 throw std::runtime_error(QObject::tr("line %1: Unhandled element %2").arg(xmlReader.lineNumber()).arg(xmlReader.name().toString()).toStdString());
39}
40
41NORETURN static void mandatoryAttibuteMissing(const QXmlStreamReader &xmlReader, const QString& attributeName)
42{

Callers 9

loadContainerFunction · 0.85
loadSmartPointerFunction · 0.85
loadFunctionArgFunction · 0.85
loadFunctionFunction · 0.85
loadMemoryResourceFunction · 0.85
loadPlatformTypeFunction · 0.85
loadReflectionFunction · 0.85
loadMarkupFunction · 0.85
openMethod · 0.85

Calls 3

lineNumberMethod · 0.80
toStringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected