MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / SkipSpaces

Function SkipSpaces

tests/gtest/gtest-all.cc:11687–11691  ·  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

11685// Skips to the first non-space char in str. Returns an empty string if str
11686// contains only whitespace characters.
11687static const char* SkipSpaces(const char* str) {
11688 while (IsSpace(*str))
11689 str++;
11690 return str;
11691}
11692
11693static std::vector<std::string> SplitIntoTestNames(const char* src) {
11694 std::vector<std::string> name_vec;

Callers 1

SplitIntoTestNamesFunction · 0.85

Calls 1

IsSpaceFunction · 0.85

Tested by

no test coverage detected