mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user