MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / SkipSpaces

Function SkipSpaces

test/common/gtest/gtest.cpp:10360–10364  ·  view source on GitHub ↗

Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.

Source from the content-addressed store, hash-verified

10358// Skips to the first non-space char in str. Returns an empty string if str
10359// contains only whitespace characters.
10360static const char* SkipSpaces(const char* str) {
10361 while (IsSpace(*str))
10362 str++;
10363 return str;
10364}
10365
10366static std::vector<std::string> SplitIntoTestNames(const char* src) {
10367 std::vector<std::string> name_vec;

Callers 1

SplitIntoTestNamesFunction · 0.85

Calls 1

IsSpaceFunction · 0.85

Tested by

no test coverage detected