diff options
author | Jim Ingham <jingham@apple.com> | 2015-09-02 01:06:46 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2015-09-02 01:06:46 +0000 |
commit | 0e0984eebb0314f980ee9d2737e3b93ecab13d5a (patch) | |
tree | 53327574c5cf5de54f7ec37839266f2d24de6e8b /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | bb0cef6e9c97c09889a0a9af93d4d1e82549a812 (diff) | |
download | bcm5719-llvm-0e0984eebb0314f980ee9d2737e3b93ecab13d5a.tar.gz bcm5719-llvm-0e0984eebb0314f980ee9d2737e3b93ecab13d5a.zip |
Move things from the LanguageRuntime that obviously belong in the new Language plugin instead.
llvm-svn: 246611
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |