Reduce variable scope by moving declaration into if clause
Reduce variable scope by moving declaration into if clause

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@310506 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 9e858424030e2afae78337327c7b4e242bba2ba4)

apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm