mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-12 05:56:28 +00:00
Move a couple of optional references to just optional to make the
forwarding APIs look similar. llvm-svn: 358250
This commit is contained in:
parent
eeeef3af2c
commit
5e5111db83
@ -224,7 +224,7 @@ public:
|
||||
|
||||
Expected<unsigned> tryGetFile(StringRef &Directory, StringRef &FileName,
|
||||
Optional<MD5::MD5Result> Checksum,
|
||||
Optional<StringRef> &Source,
|
||||
Optional<StringRef> Source,
|
||||
unsigned FileNumber = 0);
|
||||
std::pair<MCSymbol *, MCSymbol *>
|
||||
Emit(MCStreamer *MCOS, MCDwarfLineTableParams Params,
|
||||
@ -293,7 +293,7 @@ public:
|
||||
Optional<StringRef> Source,
|
||||
unsigned FileNumber = 0);
|
||||
unsigned getFile(StringRef &Directory, StringRef &FileName,
|
||||
Optional<MD5::MD5Result> Checksum, Optional<StringRef> &Source,
|
||||
Optional<MD5::MD5Result> Checksum, Optional<StringRef> Source,
|
||||
unsigned FileNumber = 0) {
|
||||
return cantFail(tryGetFile(Directory, FileName, Checksum, Source,
|
||||
FileNumber));
|
||||
|
@ -546,7 +546,7 @@ Expected<unsigned>
|
||||
MCDwarfLineTableHeader::tryGetFile(StringRef &Directory,
|
||||
StringRef &FileName,
|
||||
Optional<MD5::MD5Result> Checksum,
|
||||
Optional<StringRef> &Source,
|
||||
Optional<StringRef> Source,
|
||||
unsigned FileNumber) {
|
||||
if (Directory == CompilationDir)
|
||||
Directory = "";
|
||||
|
Loading…
Reference in New Issue
Block a user