================
@@ -38,21 +38,22 @@ enum class NodeKind {
   NK_Document,
 };
 
-// Forward declarations
 struct InlineNode;
 struct BlockNode;
 
 
//===----------------------------------------------------------------------===//
 // Inline nodes
 
//===----------------------------------------------------------------------===//
 
-struct InlineNode
-    : llvm::ilist_node<InlineNode, llvm::ilist_sentinel_tracking<true>> {
+struct InlineNode : llvm::ilist_node<InlineNode> {
   NodeKind Kind;
   explicit InlineNode(NodeKind K) : Kind(K) {}
-  void dump(llvm::raw_ostream &OS = llvm::errs()) const;
+  void print(llvm::raw_ostream &OS) const;
+  LLVM_DUMP_METHOD void dump() const;
----------------
Neil-N4 wrote:

dump() only in the base now. subclasses inherit it

https://github.com/llvm/llvm-project/pull/205609
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to