1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix MSVC "not all control paths return a value" warning. NFCI.

llvm-svn: 375214
This commit is contained in:
Simon Pilgrim 2019-10-18 09:59:40 +00:00
parent 5583967ef2
commit ea9ed56729

View File

@ -316,6 +316,7 @@ NameOrPattern::create(StringRef Pattern, MatchStyle MS,
("^" + Pattern.ltrim('^').rtrim('$') + "$").toStringRef(Data)));
}
}
llvm_unreachable("Unhandled llvm.objcopy.MatchStyle enum");
}
static Error addSymbolsToRenameFromFile(StringMap<StringRef> &SymbolsToRename,