Revert r237954, "Resubmit r237708 (MIR Serialization: print and parse LLVM IR using...
[oota-llvm.git] / lib / Support / YAMLTraits.cpp
index 0d47f37edbddfbf6aa516c256a66ece814713f48..90f34f6e232d5470ccee1b52dd877ddf744abd88 100644 (file)
@@ -97,10 +97,6 @@ bool Input::nextDocument() {
   return ++DocIterator != Strm->end();
 }
 
-const Node *Input::getCurrentNode() const {
-  return CurrentNode ? CurrentNode->_node : nullptr;
-}
-
 bool Input::mapTag(StringRef Tag, bool Default) {
   std::string foundTag = CurrentNode->_node->getVerbatimTag();
   if (foundTag.empty()) {