[flang] Address review comment.
authorTim Keith <tkeith@nvidia.com>
Mon, 23 Apr 2018 20:10:33 +0000 (13:10 -0700)
committerTim Keith <tkeith@nvidia.com>
Mon, 23 Apr 2018 20:10:33 +0000 (13:10 -0700)
Original-commit: flang-compiler/f18@cb3904761b33644b68d679429462e4283c671b36
Reviewed-on: https://github.com/flang-compiler/f18/pull/65
Tree-same-pre-rewrite: false

flang/lib/semantics/rewrite-parse-tree.cc

index 7d80fd2..99e0d0b 100644 (file)
@@ -83,7 +83,7 @@ private:
     if (!funcRef) {
       return;
     }
-    parser::Name *name = std::get_if<parser::Name>(
+    auto *name = std::get_if<parser::Name>(
         &std::get<parser::ProcedureDesignator>((*funcRef)->v.t).u);
     if (!name || !name->symbol || !name->symbol->has<EntityDetails>()) {
       return;