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

Class Error

externals/simplecpp/simplecpp.cpp:1710–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1708
1709 /** base class for errors */
1710 struct Error {
1711 Error(const Location &loc, const std::string &s) : location(loc), what(s) {}
1712 const Location location;
1713 const std::string what;
1714 };
1715
1716 /** Struct that is thrown when macro is expanded with wrong number of parameters */
1717 struct wrongNumberOfParameters : public Error {

Callers 2

expandMethod · 0.70
parseDefineMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected