From 3f16114ddb7896a91311c40f7070eb7f828c20cf Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Mon, 20 Jul 2020 11:20:20 -0700 Subject: [PATCH] [lldb] Fix method name to match LLDB code style (NFC) recordInterestingDirectory -> RecordInterestingDirectory --- lldb/include/lldb/Utility/Reproducer.h | 2 +- lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp | 2 +- lldb/source/Utility/Reproducer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/include/lldb/Utility/Reproducer.h b/lldb/include/lldb/Utility/Reproducer.h index ab673e5..2714db8 100644 --- a/lldb/include/lldb/Utility/Reproducer.h +++ b/lldb/include/lldb/Utility/Reproducer.h @@ -99,7 +99,7 @@ public: return m_collector; } - void recordInterestingDirectory(const llvm::Twine &dir); + void RecordInterestingDirectory(const llvm::Twine &dir); void Keep() override { auto mapping = GetRoot().CopyByAppendingPathComponent(Info::file); diff --git a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp index fc426d1..e510ee2 100644 --- a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp +++ b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp @@ -299,7 +299,7 @@ SymbolVendorMacOSX::CreateInstance(const lldb::ModuleSP &module_sp, if (repro::Generator *g = repro::Reproducer::Instance().GetGenerator()) { repro::FileProvider &fp = g->GetOrCreate(); - fp.recordInterestingDirectory(dsym_root); + fp.RecordInterestingDirectory(dsym_root); } } return symbol_vendor; diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index 7620ab2..46e909e 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -299,7 +299,7 @@ void WorkingDirectoryProvider::Keep() { os << m_cwd << "\n"; } -void FileProvider::recordInterestingDirectory(const llvm::Twine &dir) { +void FileProvider::RecordInterestingDirectory(const llvm::Twine &dir) { if (m_collector) m_collector->addDirectory(dir); } -- 2.7.4