From 0e0984eebb0314f980ee9d2737e3b93ecab13d5a Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 2 Sep 2015 01:06:46 +0000 Subject: Move things from the LanguageRuntime that obviously belong in the new Language plugin instead. llvm-svn: 246611 --- lldb/source/Commands/CommandObjectExpression.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectExpression.cpp') diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index 56a91f7a91c..195ccbcbb7d 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -25,6 +25,7 @@ #include "lldb/Core/Debugger.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" +#include "lldb/Target/Language.h" #include "lldb/Target/ObjCLanguageRuntime.h" #include "lldb/Symbol/ObjectFile.h" #include "lldb/Symbol/Variable.h" @@ -86,7 +87,7 @@ CommandObjectExpression::CommandOptions::SetOptionValue (CommandInterpreter &int switch (short_option) { case 'l': - language = LanguageRuntime::GetLanguageTypeFromString (option_arg); + language = Language::GetLanguageTypeFromString (option_arg); if (language == eLanguageTypeUnknown) error.SetErrorStringWithFormat ("unknown language type: '%s' for expression", option_arg); break; -- cgit v1.2.3