[flang] Fix a couple other spots clang-format missed
authorEric Schweitz <eschweitz@nvidia.com>
Thu, 6 Sep 2018 17:38:52 +0000 (10:38 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Sep 2018 21:01:25 +0000 (14:01 -0700)
Original-commit: flang-compiler/f18@1a4b12e1b2d38db3a39ddb4a4dbdd6b96d32010f
Reviewed-on: https://github.com/flang-compiler/f18/pull/170
Tree-same-pre-rewrite: false

flang/lib/semantics/resolve-labels.cc

index 7c5dd7392ea1b172841fc4d0277c2a017bc4912a..45049453be759df2eaf2e4f2dde1d58a5517f591 100644 (file)
@@ -401,14 +401,12 @@ private:
     CheckName(a);
     popConstructNameIfPresent(a);
   }
-
   template<typename A> void popConstructNameIfPresent(const A &a) {
     const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)};
     if (optionalName.has_value()) {
       constructNames_.pop_back();
     }
   }
-
   void popConstructNameIfPresent(const parser::BlockConstruct &blockConstruct) {
     const auto &optionalName{
         std::get<parser::Statement<parser::BlockStmt>>(blockConstruct.t)
@@ -532,9 +530,7 @@ private:
               std::get<parser::Statement<parser::ElseStmt>>(
                   std::get<std::optional<parser::IfConstruct::ElseBlock>>(
                       ifConstruct.t)
-                      ->t
-
-                  )
+                      ->t)
                   .statement.v,
               constructName)) {
         errorHandler_.Say(currentPosition_,