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

Method managed

lib/checkleakautovar.h:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 explicit AllocInfo(int type_ = 0, AllocStatus status_ = NOALLOC, const Token* allocTok_ = nullptr) : status(status_), type(type_), allocTok(allocTok_) {}
54
55 bool managed() const {
56 return status < 0;
57 }
58 };
59 enum Usage : std::uint8_t { USED, NORET };
60 std::map<int, AllocInfo> alloctype;

Callers 3

checkScopeMethod · 0.80
changeAllocStatusMethod · 0.80
retMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected