diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-25 01:08:10 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-25 01:08:10 +0000 |
| commit | e9be72a3b3b941203360373b675328f07b6759c1 (patch) | |
| tree | e0e4849a06fc31887612d5aa9fee8fc2ecef0d1b /lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h | |
| parent | 69b63da1673d4f4b97844bb259c7f3dc325b437a (diff) | |
| download | bcm5719-llvm-e9be72a3b3b941203360373b675328f07b6759c1.tar.gz bcm5719-llvm-e9be72a3b3b941203360373b675328f07b6759c1.zip | |
[FileCollector] Remove LLDB shim around llvm::FileCollector (NFC)
The FileCollector got lifted into LLVM and a shim was introduced in LLDB
to keep the old API that takes FileSpecs. This patch removes that shim
and converts the arguments in place.
llvm-svn: 366975
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h b/lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h index ad4c4690afb..9660abf1bfa 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h +++ b/lldb/source/Plugins/ExpressionParser/Clang/ModuleDependencyCollector.h @@ -9,15 +9,15 @@ #ifndef liblldb_ModuleDependencyCollector_h_ #define liblldb_ModuleDependencyCollector_h_ -#include "lldb/Utility/FileCollector.h" #include "clang/Frontend/Utils.h" #include "llvm/ADT/StringRef.h" +#include "llvm/Support/FileCollector.h" namespace lldb_private { class ModuleDependencyCollectorAdaptor : public clang::ModuleDependencyCollector { public: - ModuleDependencyCollectorAdaptor(FileCollector &file_collector) + ModuleDependencyCollectorAdaptor(llvm::FileCollector &file_collector) : clang::ModuleDependencyCollector(""), m_file_collector(file_collector) { } @@ -31,7 +31,7 @@ public: void writeFileMap() override {} private: - FileCollector &m_file_collector; + llvm::FileCollector &m_file_collector; }; } // namespace lldb_private |

