MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / FindValue

Function FindValue

CoroutinesCodeGenerator.cpp:825–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823//-----------------------------------------------------------------------------
824
825static std::optional<std::string>
826FindValue(llvm::DenseMap<const Expr*, std::pair<const DeclRefExpr*, std::string>>& map, const Expr* key)
827{
828 if(const auto& s = map.find(key); s != map.end()) {
829 return s->second.second;
830 }
831
832 return {};
833}
834//-----------------------------------------------------------------------------
835
836void CoroutinesCodeGenerator::InsertArg(const OpaqueValueExpr* stmt)

Callers 1

InsertArgMethod · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected