MCPcopy Create free account
hub / github.com/GJDuck/e9patch / deprecated

Function deprecated

src/e9tool/e9action.cpp:47–54  ·  view source on GitHub ↗

* Warning about deprecated syntax. */

Source from the content-addressed store, hash-verified

45 * Warning about deprecated syntax.
46 */
47static void deprecated(const char *syntax, const char *alt)
48{
49 static std::set<const char *, CStrCmp> seen;
50 auto i = seen.insert(syntax);
51 if (!i.second)
52 return;
53 warning("the `%s' syntax is deprecated; use `%s' instead", syntax, alt);
54}
55
56
57/*

Callers 2

parseMatchArgFunction · 0.85
parsePatchArgFunction · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected