MCPcopy Create free account
hub / github.com/ZDoom/Raze / MakeUpper

Method MakeUpper

source/common/utility/zstring.cpp:702–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702FString FString::MakeUpper() const
703{
704 TArray<uint8_t> builder(Len());
705 int pos = 0;
706 while (int c = GetNextCharacter(pos))
707 {
708 if (c < 65536) c = upperforlower[c];
709 auto cp = MakeUTF8(c);
710 while (auto uc = *cp++) builder.Push(uc);
711 }
712 return FString(builder);
713}
714
715void FString::StripLeft ()
716{

Callers 4

CheckAddonFunction · 0.80
ReplayGainHashFunction · 0.80
StringMakeUpperFunction · 0.80

Calls 3

MakeUTF8Function · 0.85
FStringClass · 0.70
PushMethod · 0.45

Tested by

no test coverage detected