[Lldb-commits] [PATCH] D24793: Delete an (apparently unused) global in ClangExpressionVaraible.cpp

Luke Drummond via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 21 04:06:22 PDT 2016


ldrumm created this revision.
ldrumm added reviewers: spyffe, clayborg.
ldrumm added a subscriber: LLDB.
ldrumm added a project: LLDB.

I've grepped the entire llvm source tree, and can't find any external references, to this symbol.

The build is also clean without it, so I think this is safe to remove.

https://reviews.llvm.org/D24793

Files:
  source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp

Index: source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
===================================================================
--- source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
+++ source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.cpp
@@ -21,8 +21,6 @@
 using namespace lldb_private;
 using namespace clang;
 
-const char *g_clang_expression_variable_kind_name = "ClangExpressionVariable";
-
 ClangExpressionVariable::ClangExpressionVariable(
     ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order,
     uint32_t addr_byte_size)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24793.72021.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160921/6a1055ed/attachment.bin>


More information about the lldb-commits mailing list