From fab8c796f6754962f5732145248303e3a1f7b96b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 Sep 2002 21:31:57 +0000 Subject: * Clean up some comments * Move code out of header file to .cpp files, to make future changes easier * Add arguments to classes so that they can be automatically inserted into their parent structure upon creation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3604 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Function.h') diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 5976745c3e..4c0e0ec523 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -22,7 +22,7 @@ template<> struct ilist_traits : public SymbolTableListTraits { // createNode is used to create a node that marks the end of the list... - static BasicBlock *createNode() { return new BasicBlock(); } + static BasicBlock *createNode(); static iplist &getList(Function *F); }; -- cgit v1.2.3