Fix header, fix broken friend decl
authorChris Lattner <sabre@nondot.org>
Sat, 20 Sep 2003 03:34:44 +0000 (03:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 20 Sep 2003 03:34:44 +0000 (03:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8616 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Argument.h

index 03690ea37e6c8e0d24b37b42251bccfa45447355..ca2c567b897e9b21653d71122b93ec2e133809e0 100644 (file)
@@ -1,6 +1,6 @@
-//===-- llvm/Argument.h - Definition of the Argument class -------*- C++ -*--=//
+//===-- llvm/Argument.h - Definition of the Argument class ------*- C++ -*-===//
 //
-// This file defines the Argument class, which represents and incoming formal
+// This file defines the Argument class, which represents an incoming formal
 // argument to a Function.
 //
 //===----------------------------------------------------------------------===//
@@ -16,7 +16,8 @@ class Argument : public Value {  // Defined in the Function.cpp file
   Argument *Prev, *Next; // Next and Prev links for our intrusive linked list
   void setNext(Argument *N) { Next = N; }
   void setPrev(Argument *N) { Prev = N; }
-  friend class SymbolTableListTraits<Argument, Function, Function>;
+  friend class SymbolTableListTraits<Argument, Function, Function,
+                                     ilist_traits<Argument> >;
   void setParent(Function *parent);
 
 public: