From: David Bolvansky Date: Mon, 3 Sep 2018 18:21:21 +0000 (+0000) Subject: [ClangUserExpression][NFC] Removed unused code X-Git-Tag: llvmorg-8.0.0-rc1~9545 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a213d2f9b9c069293f6ffea6c8beaa508a5de31;p=platform%2Fupstream%2Fllvm.git [ClangUserExpression][NFC] Removed unused code llvm-svn: 341334 --- diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp index 048cef0..77fd681 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp @@ -655,10 +655,6 @@ bool ClangUserExpression::Complete(ExecutionContext &exe_ctx, if (!PrepareForParsing(diagnostic_manager, exe_ctx)) return false; - lldb::LanguageType lang_type = lldb::LanguageType::eLanguageTypeUnknown; - if (auto new_lang = GetLanguageForExpr(diagnostic_manager, exe_ctx)) - lang_type = new_lang.getValue(); - if (log) log->Printf("Parsing the following code:\n%s", m_transformed_text.c_str());