Author: jdevlieghere Date: Wed Aug 14 22:09:09 2019 New Revision: 368962 URL: http://llvm.org/viewvc/llvm-project?rev=368962&view=rev Log: 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. Modified: lldb/trunk/source/Utility/FileSpec.cpp Modified: lldb/trunk/source/Utility/FileSpec.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Utility/FileSpec.cpp?rev=368962&r1=368961&r2=368962&view=diff ============================================================================== --- lldb/trunk/source/Utility/FileSpec.cpp (original) +++ lldb/trunk/source/Utility/FileSpec.cpp Wed Aug 14 22:09:09 2019 @@ -73,7 +73,7 @@ FileSpec::FileSpec(llvm::StringRef path, } 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 p 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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits