Skip to content

Commit 960ef61

Browse files
authored
Merge pull request #21499 from compnerd/ignore-the-rfc
2 parents 36c0ebf + 326d423 commit 960ef61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Basic/UUID.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#define NOMINMAX
2424
#include <objbase.h>
2525
#include <string>
26+
#include <algorithm>
2627
#else
2728
#include <uuid/uuid.h>
2829
#endif
@@ -94,6 +95,7 @@ void swift::UUID::toString(llvm::SmallVectorImpl<char> &out) const {
9495

9596
char* signedStr = reinterpret_cast<char*>(str);
9697
memcpy(out.data(), signedStr, StringBufferSize);
98+
std::transform(std::begin(out), std::end(out), std::begin(out), toupper);
9799
#else
98100
uuid_unparse_upper(Value, out.data());
99101
#endif

0 commit comments

Comments
 (0)