[PATCH] D88711: [flang][NFC] Fix mis-matched struct/class declarations

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 13:09:22 PDT 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG11622d0fed8c: [flang][NFC] Fix mis-matched struct/class declarations (authored by tskeith).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88711/new/

https://reviews.llvm.org/D88711

Files:
  flang/runtime/io-stmt.h


Index: flang/runtime/io-stmt.h
===================================================================
--- flang/runtime/io-stmt.h
+++ flang/runtime/io-stmt.h
@@ -149,10 +149,11 @@
 };
 
 // Common state for list-directed internal & external I/O
-template <Direction> struct ListDirectedStatementState;
+template <Direction> class ListDirectedStatementState;
 template <>
-struct ListDirectedStatementState<Direction::Output>
+class ListDirectedStatementState<Direction::Output>
     : public FormattedIoStatementState {
+public:
   static std::size_t RemainingSpaceInRecord(const ConnectionState &);
   bool NeedAdvance(const ConnectionState &, std::size_t) const;
   bool EmitLeadingSpaceOrAdvance(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88711.295899.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201002/260518d7/attachment.bin>


More information about the llvm-commits mailing list