diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-22 13:33:03 -0700 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-07-22 13:56:23 -0700 |
| commit | 0d5fc82245352eb6ed4cf11d85a508a8a03e23bb (patch) | |
| tree | c167dc417235c21b33d047124687663e8540f0da /lldb/source/Utility/Reproducer.cpp | |
| parent | 8b56b03f5a045b7c7ecdc76af4b66fd59ce5dc5d (diff) | |
| download | llvm-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.cpp | 2 |
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); |
