MCPcopy Create free account
hub / github.com/asmuth/clip / toUpper

Method toUpper

src/utils/stringutil.cc:355–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void StringUtil::toUpper(std::string* str) {
356 auto& str_ref = *str;
357
358 for (size_t i = 0; i < str_ref.length(); ++i) {
359 str_ref[i] = std::toupper(str_ref[i]);
360 }
361}
362
363size_t StringUtil::find(const std::string& str, char chr) {
364 for (size_t i = 0; i < str.length(); ++i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected