[Lldb-commits] [lldb] r341334 - [ClangUserExpression][NFC] Removed unused code

David Bolvansky via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 3 11:21:22 PDT 2018


Author: xbolva00
Date: Mon Sep  3 11:21:21 2018
New Revision: 341334

URL: http://llvm.org/viewvc/llvm-project?rev=341334&view=rev
Log:
[ClangUserExpression][NFC] Removed unused code

Modified:
    lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp

Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp?rev=341334&r1=341333&r2=341334&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp (original)
+++ lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp Mon Sep  3 11:21:21 2018
@@ -655,10 +655,6 @@ bool ClangUserExpression::Complete(Execu
   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());
 




More information about the lldb-commits mailing list