Skip to content

Always print UUIDs using uppercase. #819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Basic/UUID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Optional<UUID> UUID::fromString(const char *s) {

void UUID::toString(llvm::SmallVectorImpl<char> &out) const {
out.resize(UUID::StringBufferSize);
uuid_unparse(Value, out.data());
uuid_unparse_upper(Value, out.data());
// Pop off the null terminator.
assert(out.back() == '\0' && "did not null-terminate?!");
out.pop_back();
Expand Down
2 changes: 0 additions & 2 deletions test/SIL/Parser/basic.sil
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// RUN: %target-swift-frontend %s -emit-silgen | FileCheck %s

// XFAIL: linux

sil_stage raw // CHECK: sil_stage raw

import Builtin
Expand Down
2 changes: 0 additions & 2 deletions test/Serialization/basic_sil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
// RUN: %target-build-swift -Xfrontend %clang-importer-sdk -emit-module -Xfrontend -disable-diagnostic-passes -force-single-frontend-invocation -Xfrontend -sil-serialize-all -o %t/def_basic.swiftmodule %S/Inputs/def_basic.sil
// RUN: %target-build-swift -Xfrontend %clang-importer-sdk -emit-silgen -Xfrontend -sil-link-all -I %t %s | FileCheck -check-prefix=CHECK_DECL %S/Inputs/def_basic.sil

// XFAIL: linux

// This test currently is written such that no optimizations are assumed.
// REQUIRES: swift_test_mode_optimize_none

Expand Down