diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 05:09:09 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-15 05:09:09 +0000 |
commit | 706cd705690b98b603362c6f1464795d95ea2db3 (patch) | |
tree | 858cb5912c78acad52a761ef92222e46191b84c4 /lldb | |
parent | 9cf1eab73e232c8b60b75f040d8616da38e9a99b (diff) | |
download | llvm-706cd705690b98b603362c6f1464795d95ea2db3.zip llvm-706cd705690b98b603362c6f1464795d95ea2db3.tar.gz llvm-706cd705690b98b603362c6f1464795d95ea2db3.tar.bz2 |
Fix variable mismatch between signature and body
I updated the signature to conform to the LLDB coding style but
accidentally forgot to update the function body.
llvm-svn: 368962
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Utility/FileSpec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Utility/FileSpec.cpp b/lldb/source/Utility/FileSpec.cpp index 6d17a467..f22ab4d 100644 --- a/lldb/source/Utility/FileSpec.cpp +++ b/lldb/source/Utility/FileSpec.cpp @@ -73,7 +73,7 @@ FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) { } FileSpec::FileSpec(llvm::StringRef path, const llvm::Triple &triple) - : FileSpec{path, Triple.isOSWindows() ? Style::windows : Style::posix} {} + : FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {} // Copy constructor FileSpec::FileSpec(const FileSpec *rhs) : m_directory(), m_filename() { @@ -228,8 +228,8 @@ void FileSpec::SetFile(llvm::StringRef pathname, Style style) { m_directory.SetString(directory); } -void FileSpec::SetFile(llvm::StringRef path, const llvm::Triple &Triple) { - return SetFile(path, Triple.isOSWindows() ? Style::windows : Style::posix); +void FileSpec::SetFile(llvm::StringRef path, const llvm::Triple &triple) { + return SetFile(path, triple.isOSWindows() ? Style::windows : Style::posix); } // Convert to pointer operator. This allows code to check any FileSpec objects |