summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil/DwarfLinker.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/dsymutil/DwarfLinker.h')
-rw-r--r--llvm/tools/dsymutil/DwarfLinker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinker.h b/llvm/tools/dsymutil/DwarfLinker.h
index 482c607d22c..f8b8729bf91 100644
--- a/llvm/tools/dsymutil/DwarfLinker.h
+++ b/llvm/tools/dsymutil/DwarfLinker.h
@@ -56,8 +56,8 @@ using UnitListTy = std::vector<std::unique_ptr<CompileUnit>>;
class DwarfLinker {
public:
DwarfLinker(raw_fd_ostream &OutFile, BinaryHolder &BinHolder,
- const LinkOptions &Options)
- : OutFile(OutFile), BinHolder(BinHolder), Options(Options) {}
+ LinkOptions Options)
+ : OutFile(OutFile), BinHolder(BinHolder), Options(std::move(Options)) {}
/// Link the contents of the DebugMap.
bool link(const DebugMap &);
@@ -499,7 +499,7 @@ private:
/// be uniqued and sorted and there are only few entries expected
/// per compile unit, which is why this is a std::map.
std::map<std::string, std::string> ParseableSwiftInterfaces;
-
+
bool ModuleCacheHintDisplayed = false;
bool ArchiveHintDisplayed = false;
};
OpenPOWER on IntegriCloud