Remove UUID::SetFromCString

Replace uses with SetFromStringRef. NFC.

llvm-svn: 335246
This commit is contained in:
Pavel Labath
2018-06-21 15:24:39 +00:00
parent bb9dedfa8a
commit a174bcbf03
10 changed files with 9 additions and 18 deletions

View File

@@ -93,7 +93,7 @@ void ModuleCacheTest::TryGetAndPut(const FileSpec &cache_dir,
ModuleCache mc;
ModuleSpec module_spec;
module_spec.GetFileSpec() = GetDummyRemotePath();
module_spec.GetUUID().SetFromCString(module_uuid, uuid_bytes);
module_spec.GetUUID().SetFromStringRef(module_uuid, uuid_bytes);
module_spec.SetObjectSize(module_size);
ModuleSP module_sp;
bool did_create;