diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-20 03:34:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-20 03:34:44 +0000 |
commit | f091a53ad4e3ef8ba8d10d820cdbe80cd12efe42 (patch) | |
tree | 047add2fb8262e917e0e20d9b9f041b44065b77a | |
parent | c1820036bdedea566c89d2bd47bbbbe4384bdc73 (diff) | |
download | external_llvm-f091a53ad4e3ef8ba8d10d820cdbe80cd12efe42.zip external_llvm-f091a53ad4e3ef8ba8d10d820cdbe80cd12efe42.tar.gz external_llvm-f091a53ad4e3ef8ba8d10d820cdbe80cd12efe42.tar.bz2 |
Fix header, fix broken friend decl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8616 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Argument.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h index 03690ea..ca2c567 100644 --- a/include/llvm/Argument.h +++ b/include/llvm/Argument.h @@ -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: |