diff options
author | Zachary Turner <zturner@google.com> | 2014-08-21 17:29:12 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-08-21 17:29:12 +0000 |
commit | 42ff0ad8827c1173968b7d0f2ab72c873f5c201e (patch) | |
tree | 5b5cf8ddc60bdefd37edc51b0e51bebfb930d402 /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | 426282813220cb3328c9554fdef33983057daeb0 (diff) | |
download | bcm5719-llvm-42ff0ad8827c1173968b7d0f2ab72c873f5c201e.tar.gz bcm5719-llvm-42ff0ad8827c1173968b7d0f2ab72c873f5c201e.zip |
Move Host::GetLLDBPath to HostInfo.
This continues the effort to get Host code moved over to HostInfo,
and removes many more instances of preprocessor defines along the
way.
llvm-svn: 216195
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 58af442ca15..4d496195700 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -26,6 +26,7 @@ #include "lldb/Expression/IRDynamicChecks.h" #include "lldb/Expression/IRInterpreter.h" #include "lldb/Host/File.h" +#include "lldb/Host/HostInfo.h" #include "lldb/Symbol/SymbolVendor.h" #include "lldb/Target/ExecutionContext.h" #include "lldb/Target/ObjCLanguageRuntime.h" @@ -309,7 +310,7 @@ ClangExpressionParser::Parse (Stream &stream) std::string temp_source_path; FileSpec tmpdir_file_spec; - if (Host::GetLLDBPath (lldb::ePathTypeLLDBTempSystemDir, tmpdir_file_spec)) + if (HostInfo::GetLLDBPath(lldb::ePathTypeLLDBTempSystemDir, tmpdir_file_spec)) { tmpdir_file_spec.GetFilename().SetCString("expr.XXXXXX"); temp_source_path = std::move(tmpdir_file_spec.GetPath()); |