Resubmit r237708 (MIR Serialization: print and parse LLVM IR using MIR format).
[oota-llvm.git] / include / llvm / Support / YAMLTraits.h
index 3bdff20918093610c49249b4f4418d5d1d239212..6d934fe5128483e9dfbff9a3d2111b07700a6cc9 100644 (file)
@@ -1090,6 +1090,9 @@ public:
   bool setCurrentDocument();
   bool nextDocument();
 
+  /// Returns the current node that's being parsed by the YAML Parser.
+  const Node *getCurrentNode() const;
+
 private:
   llvm::SourceMgr                     SrcMgr; // must be before Strm
   std::unique_ptr<llvm::yaml::Stream> Strm;