From 42ff0ad8827c1173968b7d0f2ab72c873f5c201e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 21 Aug 2014 17:29:12 +0000 Subject: 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 --- lldb/source/Expression/ClangExpressionParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/source/Expression/ClangExpressionParser.cpp') 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()); -- cgit v1.2.3