[lld] r205366 - Inline empty constructor.

Rui Ueyama ruiu at google.com
Tue Apr 1 15:11:18 PDT 2014


Author: ruiu
Date: Tue Apr  1 17:11:18 2014
New Revision: 205366

URL: http://llvm.org/viewvc/llvm-project?rev=205366&view=rev
Log:
Inline empty constructor.

Modified:
    lld/trunk/include/lld/Core/InputGraph.h
    lld/trunk/lib/Core/InputGraph.cpp

Modified: lld/trunk/include/lld/Core/InputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/InputGraph.h?rev=205366&r1=205365&r2=205366&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/InputGraph.h (original)
+++ lld/trunk/include/lld/Core/InputGraph.h Tue Apr  1 17:11:18 2014
@@ -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() {}
 

Modified: lld/trunk/lib/Core/InputGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/InputGraph.cpp?rev=205366&r1=205365&r2=205366&view=diff
==============================================================================
--- lld/trunk/lib/Core/InputGraph.cpp (original)
+++ lld/trunk/lib/Core/InputGraph.cpp Tue Apr  1 17:11:18 2014
@@ -130,11 +130,6 @@ void Group::setResolveState(uint32_t res
   _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.





More information about the llvm-commits mailing list