mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-28 22:00:30 +00:00
Fully qualify llvm::Optional, some compilers complain otherwise.
llvm-svn: 358933
This commit is contained in:
parent
d1ec53372c
commit
a8b770e5ab
@ -280,12 +280,13 @@ static bool verify(llvm::StringRef OutputFile, llvm::StringRef Arch) {
|
||||
|
||||
namespace {
|
||||
struct OutputLocation {
|
||||
OutputLocation(std::string DWARFFile, Optional<std::string> ResourceDir = {})
|
||||
OutputLocation(std::string DWARFFile,
|
||||
llvm::Optional<std::string> ResourceDir = {})
|
||||
: DWARFFile(DWARFFile), ResourceDir(ResourceDir) {}
|
||||
/// This method is a workaround for older compilers.
|
||||
Optional<std::string> getResourceDir() const { return ResourceDir; }
|
||||
llvm::Optional<std::string> getResourceDir() const { return ResourceDir; }
|
||||
std::string DWARFFile;
|
||||
Optional<std::string> ResourceDir;
|
||||
llvm::Optional<std::string> ResourceDir;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user