Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ empty_if_null
Function
empty_if_null
lib/utils.h:421–424 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
419
420
template<typename T>
421
static inline T* empty_if_null(T* p)
422
{
423
return default_if_null(p,
""
);
424
}
425
426
/**
427
* Split string by given separator.
Callers
5
parseXmlFile
Method · 0.85
readAttrString
Function · 0.85
importPropertyGroup
Function · 0.85
importCppcheckGuiProject
Method · 0.85
parseFromArgs
Method · 0.85
Calls
1
default_if_null
Function · 0.85
Tested by
no test coverage detected