[llvm-commits] CVS: llvm/include/llvm/Argument.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 19 22:35:01 PDT 2003
Changes in directory llvm/include/llvm:
Argument.h updated: 1.4 -> 1.5
---
Log message:
Fix header, fix broken friend decl
---
Diffs of the changes:
Index: llvm/include/llvm/Argument.h
diff -u llvm/include/llvm/Argument.h:1.4 llvm/include/llvm/Argument.h:1.5
--- llvm/include/llvm/Argument.h:1.4 Fri Sep 6 16:31:57 2002
+++ llvm/include/llvm/Argument.h Fri Sep 19 22:34:44 2003
@@ -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 @@
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:
More information about the llvm-commits
mailing list