aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-05-22 07:17:07 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-05-22 07:17:07 +0000
commit263b27997d5a1d4bab75c2cd20a397ed80e32925 (patch)
tree30cb6219ee41aad451b75ef876accc1096797317 /llvm/lib/Support/YAMLTraits.cpp
parentModernize some doc comments. NFC (diff)
downloadllvm-project-263b27997d5a1d4bab75c2cd20a397ed80e32925.tar.gz
llvm-project-263b27997d5a1d4bab75c2cd20a397ed80e32925.tar.bz2
llvm-project-263b27997d5a1d4bab75c2cd20a397ed80e32925.zip
Revert r237954, "Resubmit r237708 (MIR Serialization: print and parse LLVM IR using MIR format)."
It brought cyclic dependencies between LLVMCodeGen and LLVMMIR. llvm-svn: 238007
Diffstat (limited to 'llvm/lib/Support/YAMLTraits.cpp')
-rw-r--r--llvm/lib/Support/YAMLTraits.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Support/YAMLTraits.cpp b/llvm/lib/Support/YAMLTraits.cpp
index 0d47f37edbdd..90f34f6e232d 100644
--- a/llvm/lib/Support/YAMLTraits.cpp
+++ b/llvm/lib/Support/YAMLTraits.cpp
@@ -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()) {