[llvm] r358933 - Fully qualify llvm::Optional, some compilers complain otherwise.
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 15:51:35 PDT 2019
Author: adrian
Date: Mon Apr 22 15:51:34 2019
New Revision: 358933
URL: http://llvm.org/viewvc/llvm-project?rev=358933&view=rev
Log:
Fully qualify llvm::Optional, some compilers complain otherwise.
Modified:
llvm/trunk/tools/dsymutil/dsymutil.cpp
Modified: llvm/trunk/tools/dsymutil/dsymutil.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/dsymutil.cpp?rev=358933&r1=358932&r2=358933&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/dsymutil.cpp (original)
+++ llvm/trunk/tools/dsymutil/dsymutil.cpp Mon Apr 22 15:51:34 2019
@@ -280,12 +280,13 @@ static bool verify(llvm::StringRef Outpu
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;
};
}
More information about the llvm-commits
mailing list