[flang] Fix integration problem between PR flang-compiler/f18#51 and PR flang-compile...
authorTim Keith <tkeith@nvidia.com>
Thu, 12 Apr 2018 21:33:50 +0000 (14:33 -0700)
committerTim Keith <tkeith@nvidia.com>
Thu, 12 Apr 2018 21:33:50 +0000 (14:33 -0700)
Stephane added an access that returned ComponentArraySpec and meanwhile
I renamed it to ArraySpec.

Original-commit: flang-compiler/f18@b8e47bc7a52861ea388ee3a19e44221656e62166
Reviewed-on: https://github.com/flang-compiler/f18/pull/54

flang/lib/semantics/type.h

index 8308bcb1b08d1c3886a80913a62433f2d0a43aac..b4297d622ec5ec8b6c74815a12a5b13cf2109646 100644 (file)
@@ -351,7 +351,7 @@ public:
   const DeclTypeSpec &type() const { return type_; }
   const Name &name() const { return name_; }
   const Attrs &attrs() const { return attrs_; }
-  const ComponentArraySpec &shape() const { return arraySpec_; }
+  const ArraySpec &shape() const { return arraySpec_; }
 
 private:
   const DeclTypeSpec type_;