Reland [ClangUserExpression][NFC] Removed unused code
authorRaphael Isemann <teemperor@gmail.com>
Thu, 6 Sep 2018 10:24:11 +0000 (10:24 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 6 Sep 2018 10:24:11 +0000 (10:24 +0000)
commitee65d5732164231e750d29a5ce63f04b1daa7eb4
tree3bdb4f8c879efb27eb9f313d672cb0439be91706
parentd25f1214a8c952aa72a37a1bd9f2e68da2a792a0
Reland [ClangUserExpression][NFC] Removed unused code

The GetLanguageForExpr has side effects, so we can't remove this
call without breaking the completion mechanism. However, we can
keep the change that gets rid of this unnecessary variable.

llvm-svn: 341535
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp