aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/Reproducer.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-07-22 13:33:03 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-07-22 13:56:23 -0700
commit0d5fc82245352eb6ed4cf11d85a508a8a03e23bb (patch)
treec167dc417235c21b33d047124687663e8540f0da /lldb/source/Utility/Reproducer.cpp
parent8b56b03f5a045b7c7ecdc76af4b66fd59ce5dc5d (diff)
downloadllvm-0d5fc82245352eb6ed4cf11d85a508a8a03e23bb.tar.gz
llvm-0d5fc82245352eb6ed4cf11d85a508a8a03e23bb.tar.bz2
llvm-0d5fc82245352eb6ed4cf11d85a508a8a03e23bb.zip
[lldb] Eliminate unneeded value parameters in Utility (NFC)
Eliminates value parameter for types that are not trivially copyable.
Diffstat (limited to 'lldb/source/Utility/Reproducer.cpp')
-rw-r--r--lldb/source/Utility/Reproducer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp
index 3ad1064cd4c4..4441f3d475ea 100644
--- a/lldb/source/Utility/Reproducer.cpp
+++ b/lldb/source/Utility/Reproducer.cpp
@@ -157,7 +157,7 @@ FileSpec Reproducer::GetReproducerPath() const {
return {};
}
-static FileSpec MakeAbsolute(FileSpec file_spec) {
+static FileSpec MakeAbsolute(const FileSpec &file_spec) {
SmallString<128> path;
file_spec.GetPath(path, false);
llvm::sys::fs::make_absolute(path);