From 26eb6c5bc2f4042d7b049d7fde18969f6795c04f Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 1 Apr 2014 22:11:18 +0000 Subject: [PATCH] Inline empty constructor. llvm-svn: 205366 --- lld/include/lld/Core/InputGraph.h | 3 ++- lld/lib/Core/InputGraph.cpp | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lld/include/lld/Core/InputGraph.h b/lld/include/lld/Core/InputGraph.h index c53173b10049..c560e8553368 100644 --- a/lld/include/lld/Core/InputGraph.h +++ b/lld/include/lld/Core/InputGraph.h @@ -285,7 +285,8 @@ protected: /// \brief Represents Internal Input files class SimpleFileNode : public FileNode { public: - SimpleFileNode(StringRef path, int64_t ordinal = -1); + SimpleFileNode(StringRef path, int64_t ordinal = -1) + : FileNode(path, ordinal) {} virtual ~SimpleFileNode() {} diff --git a/lld/lib/Core/InputGraph.cpp b/lld/lib/Core/InputGraph.cpp index 93d82446d08c..bb006b743ecd 100644 --- a/lld/lib/Core/InputGraph.cpp +++ b/lld/lib/Core/InputGraph.cpp @@ -130,11 +130,6 @@ void Group::setResolveState(uint32_t resolveState) { _elements[_currentElementIndex]->setResolveState(resolveState); } -/// SimpleFileNode - -SimpleFileNode::SimpleFileNode(StringRef path, int64_t ordinal) - : FileNode(path, ordinal) {} - /// Group /// \brief Return the next file that need to be processed by the resolver.