Skip to content

Commit 706cd70

Browse files
committed
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
1 parent 9cf1eab commit 706cd70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Utility/FileSpec.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FileSpec::FileSpec(llvm::StringRef path, Style style) : m_style(style) {
7373
}
7474

7575
FileSpec::FileSpec(llvm::StringRef path, const llvm::Triple &triple)
76-
: FileSpec{path, Triple.isOSWindows() ? Style::windows : Style::posix} {}
76+
: FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {}
7777

7878
// Copy constructor
7979
FileSpec::FileSpec(const FileSpec *rhs) : m_directory(), m_filename() {
@@ -228,8 +228,8 @@ void FileSpec::SetFile(llvm::StringRef pathname, Style style) {
228228
m_directory.SetString(directory);
229229
}
230230

231-
void FileSpec::SetFile(llvm::StringRef path, const llvm::Triple &Triple) {
232-
return SetFile(path, Triple.isOSWindows() ? Style::windows : Style::posix);
231+
void FileSpec::SetFile(llvm::StringRef path, const llvm::Triple &triple) {
232+
return SetFile(path, triple.isOSWindows() ? Style::windows : Style::posix);
233233
}
234234

235235
// Convert to pointer operator. This allows code to check any FileSpec objects

0 commit comments

Comments
 (0)