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

Class FindName

lib/templatesimplifier.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 };
76
77 class FindName {
78 public:
79 explicit FindName(std::string name) : mName(std::move(name)) {}
80 bool operator()(const TemplateSimplifier::TokenAndName &tokenAndName) const {
81 return tokenAndName.name() == mName;
82 }
83 private:
84 const std::string mName;
85 };
86
87 class FindFullName {
88 public:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected