summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2016-02-02 18:20:45 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2016-02-02 18:20:45 +0000
commitecefe5a81fd01922185afdd4f47e8ff231e34a81 (patch)
treeccec2ae513d2b045e7269505776ed1e6300a0f89 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent7a2a5ce0589f8ac9b5c6ca8e7bf202061f7565aa (diff)
downloadbcm5719-llvm-ecefe5a81fd01922185afdd4f47e8ff231e34a81.tar.gz
bcm5719-llvm-ecefe5a81fd01922185afdd4f47e8ff231e34a81.zip
Fix Clang-tidy readability-redundant-control-flow warnings; other minor fixes.
Differential revision: http://reviews.llvm.org/D16793 llvm-svn: 259539
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index dfd25bd4603..612f6c8a035 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -54,6 +54,7 @@
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
+
using namespace llvm;
#define DEBUG_TYPE "dwarfdebug"
@@ -297,7 +298,6 @@ static void getObjCClassCategory(StringRef In, StringRef &Class,
Class = In.slice(In.find('[') + 1, In.find('('));
Category = In.slice(In.find('[') + 1, In.find(' '));
- return;
}
static StringRef getObjCMethodName(StringRef In) {
@@ -530,7 +530,6 @@ void DwarfDebug::finishSubprogramDefinitions() {
});
}
-
// Collect info for variables that were optimized out.
void DwarfDebug::collectDeadVariables() {
const Module *M = MMI->getModule();
OpenPOWER on IntegriCloud