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

Function f_constVariable_std_begin

test/cfg/std.cpp:5055–5060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5053void g_constVariable_std_begin(int* p) { *p = 0; }
5054
5055int f_constVariable_std_begin() {
5056 int arr[1];
5057 g_constVariable_std_begin(std::begin(arr));
5058 *std::begin(arr) = 1;
5059 return arr[0];
5060}
5061
5062void smartPtr_get()
5063{

Callers

nothing calls this directly

Calls 2

beginFunction · 0.50

Tested by

no test coverage detected