MCPcopy Create free account
hub / github.com/avast/retdec / addAnnotation

Method addAnnotation

src/ctypes/context.cpp:309–312  ·  view source on GitHub ↗

* @brief Adds annotation to context. */

Source from the content-addressed store, hash-verified

307* @brief Adds annotation to context.
308*/
309void Context::addAnnotation(const std::shared_ptr<Annotation> &annot)
310{
311 annotations.emplace(annot->getName(), annot);
312}
313
314} // namespace ctypes
315} // namespace retdec

Callers 4

createMethod · 0.80
createMethod · 0.80
createMethod · 0.80
createMethod · 0.80

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected