From 63e42c278267bb835d16fe25fd38c803c14c8cfc Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Tue, 9 Dec 2014 18:57:39 +0000 Subject: [PATCH] Remove unneeded curly braces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223809 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/Local.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 13838ba80b6..f70e14d78d7 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -1121,11 +1121,9 @@ bool llvm::replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress, // alloca itself. SmallVector NewDIExpr; NewDIExpr.push_back(dwarf::DW_OP_deref); - if (DIExpr) { - for (unsigned i = 0, n = DIExpr.getNumElements(); i < n; ++i) { + if (DIExpr) + for (unsigned i = 0, n = DIExpr.getNumElements(); i < n; ++i) NewDIExpr.push_back(DIExpr.getElement(i)); - } - } // Insert llvm.dbg.declare in the same basic block as the original alloca, // and remove old llvm.dbg.declare.