summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support')
-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 0d47f37edbd..90f34f6e232 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()) {
OpenPOWER on IntegriCloud