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

Class Location

lib/checkunusedfunctions.cpp:449–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447
448namespace {
449 struct Location {
450 Location() : lineNumber(0), column(0) {}
451 Location(std::string f, nonneg int l, nonneg int c) : fileName(std::move(f)), lineNumber(l), column(c) {}
452 std::string fileName;
453 nonneg int lineNumber;
454 nonneg int column;
455 };
456}
457
458// TODO: bail out on unexpected data

Callers 1

analyseWholeProgramMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected