From 706cd705690b98b603362c6f1464795d95ea2db3 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 15 Aug 2019 05:09:09 +0000 Subject: [PATCH] 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 --- lldb/source/Utility/FileSpec.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/source/Utility/FileSpec.cpp b/lldb/source/Utility/FileSpec.cpp index 6d17a467b55ce..f22ab4d84e40a 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