From e68470a1e44ae558cb13b99c28519e3c1f399231 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 15 Jun 2012 19:28:20 +0000 Subject: Remove assignments which aren't used afterwards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158534 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-dis/llvm-dis.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools/llvm-dis') diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index 6450ea6..29af751 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -93,7 +93,6 @@ public: DIVariable Var(DDI->getVariable()); if (!Padded) { OS.PadToColumn(50); - Padded = true; OS << ";"; } OS << " [debug variable = " << Var.getName() << "]"; @@ -102,7 +101,6 @@ public: DIVariable Var(DVI->getVariable()); if (!Padded) { OS.PadToColumn(50); - Padded = true; OS << ";"; } OS << " [debug variable = " << Var.getName() << "]"; -- cgit v1.1 From 0bcbd1df7a204e1e512f1a27066d725309de1b13 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 28 Jun 2012 00:05:13 +0000 Subject: Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp and include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h. The reasoning is because the DebugInfo module is simply an interface to the debug info MDNodes and has nothing to do with analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159312 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-dis/llvm-dis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/llvm-dis') diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index 29af751..41f023d 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -17,11 +17,11 @@ //===----------------------------------------------------------------------===// #include "llvm/LLVMContext.h" +#include "llvm/DebugInfo.h" #include "llvm/Module.h" #include "llvm/Type.h" #include "llvm/IntrinsicInst.h" #include "llvm/Bitcode/ReaderWriter.h" -#include "llvm/Analysis/DebugInfo.h" #include "llvm/Assembly/AssemblyAnnotationWriter.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/DataStream.h" -- cgit v1.1