MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / ToLower

Function ToLower

layers/utils/text_utils.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void ToLower(std::string& str) {
61 // std::tolower() returns int which can cause compiler warnings
62 std::transform(str.begin(), str.end(), str.begin(), [](char c) { return static_cast<char>(std::tolower(c)); });
63}
64
65void ToUpper(std::string& str) {
66 // std::toupper() returns int which can cause compiler warnings

Callers 2

FinishDeviceSetupMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected