[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:08:05 PDT 2020
tskeith updated this revision to Diff 295898.
tskeith added a comment.
Make them all `class` rather than `struct`.
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.295898.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201002/4b1c95fb/attachment.bin>
More information about the llvm-commits
mailing list