[lld] r205470 - Minor cleanup.

Rui Ueyama ruiu at google.com
Wed Apr 2 14:57:30 PDT 2014


Author: ruiu
Date: Wed Apr  2 16:57:29 2014
New Revision: 205470

URL: http://llvm.org/viewvc/llvm-project?rev=205470&view=rev
Log:
Minor cleanup.

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

Modified: lld/trunk/include/lld/Core/InputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/InputGraph.h?rev=205470&r1=205469&r2=205470&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/InputGraph.h (original)
+++ lld/trunk/include/lld/Core/InputGraph.h Wed Apr  2 16:57:29 2014
@@ -95,7 +95,7 @@ public:
   bool dump(raw_ostream &diagnostics = llvm::errs());
 
   InputElement &operator[](size_t index) const {
-    return (*_inputArgs[index]);
+    return *_inputArgs[index];
   }
 
   /// \brief Insert an element into the input graph at position.





More information about the llvm-commits mailing list