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

Class Location

lib/ctu.h:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 std::string toString() const override;
60
61 struct Location {
62 Location() = default;
63 Location(const Tokenizer &tokenizer, const Token *tok);
64 Location(std::string fileName, nonneg int lineNumber, nonneg int column) : fileName(std::move(fileName)), lineNumber(lineNumber), column(column) {}
65 std::string fileName;
66 nonneg int lineNumber{};
67 nonneg int column{};
68 };
69
70 struct Value {
71 Value& operator=(const ValueFlow::Value& val) & {

Callers 5

CallBaseMethod · 0.70
getFileInfoMethod · 0.70
getUnsafeUsageMethod · 0.70
setLocationMacrosMethod · 0.70
reportErrMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected