From 4090dfd7ba0f78676124c74923b1c7460a541cb5 Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Sun, 15 Feb 2015 15:47:52 +0000 Subject: [PATCH] [ADCE] Fix formatting of pointer types We prefer to put the * with the variable, not with the type; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229317 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/ADCE.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp index 4a003217f93..06a4dd975b1 100644 --- a/lib/Transforms/Scalar/ADCE.cpp +++ b/lib/Transforms/Scalar/ADCE.cpp @@ -69,10 +69,10 @@ bool ADCE::runOnFunction(Function& F) { // Propagate liveness backwards to operands. while (!Worklist.empty()) { - Instruction* Curr = Worklist.pop_back_val(); + Instruction *Curr = Worklist.pop_back_val(); for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end(); OI != OE; ++OI) - if (Instruction* Inst = dyn_cast(OI)) + if (Instruction *Inst = dyn_cast(OI)) if (Alive.insert(Inst).second) Worklist.push_back(Inst); } -- 2.34.1