summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-28 15:29:09 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-28 15:32:56 +0100
commitf39277c1d370ccbbec2e20a20375ee6fb7281ae4 (patch)
tree24b9c0820902d2604645a12961a59b8414e530b3
parente0203b25af92a3388580d6ef4eb386058720449e (diff)
downloadbcm5719-llvm-f39277c1d370ccbbec2e20a20375ee6fb7281ae4.tar.gz
bcm5719-llvm-f39277c1d370ccbbec2e20a20375ee6fb7281ae4.zip
[lldb][NFC] Remove unused variable in ClangASTSource::CompleteType
Now that CompilerDeclContext is a trivial class, Clang started warning that this unused variable is in fact unused. Let's remove it.
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
index 7440f6a0c36..2b484db3a18 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
@@ -363,7 +363,6 @@ void ClangASTSource::CompleteType(TagDecl *tag_decl) {
TypeList types;
ConstString name(tag_decl->getName().str().c_str());
- CompilerDeclContext namespace_decl;
const ModuleList &module_list = m_target->GetImages();
OpenPOWER on IntegriCloud