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

Function ToUpper

layers/utils/text_utils.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void ToUpper(std::string& str) {
66 // std::toupper() returns int which can cause compiler warnings
67 std::transform(str.begin(), str.end(), str.begin(), [](char c) { return static_cast<char>(std::toupper(c)); });
68}
69
70} // namespace text

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected