Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ getArrayLength
Function
getArrayLength
lib/utils.h:323–326 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
321
* */
322
template<typename T, int size>
323
std::size_t getArrayLength(const T (& /*unused*/)[size])
324
{
325
return size;
326
}
327
328
/**
329
* @brief get id string. i.e. for dump files
Callers
15
print_stacktrace
Function · 0.85
printCallstack
Function · 0.85
which_test
Method · 0.85
which_test_method
Method · 0.85
no_test_method
Method · 0.85
defaults
Method · 0.85
quiet
Method · 0.85
help
Method · 0.85
help_long
Method · 0.85
multiple_testcases
Method · 0.85
multiple_testcases_ignore_duplicates
Method · 0.85
invalid_switches
Method · 0.85
Calls
no outgoing calls
Tested by
15
which_test
Method · 0.68
which_test_method
Method · 0.68
no_test_method
Method · 0.68
defaults
Method · 0.68
quiet
Method · 0.68
help
Method · 0.68
help_long
Method · 0.68
multiple_testcases
Method · 0.68
multiple_testcases_ignore_duplicates
Method · 0.68
invalid_switches
Method · 0.68
summary
Method · 0.68
dry_run
Method · 0.68