summaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-06 21:31:57 +0000
committerChris Lattner <sabre@nondot.org>2002-09-06 21:31:57 +0000
commitfab8c796f6754962f5732145248303e3a1f7b96b (patch)
tree55fff7df3671dcfddefa7d6d99eb74f01048048b /include/llvm/Function.h
parent82f2f954fd5939dd906a48beaf56f625c4fbc8db (diff)
downloadllvm-fab8c796f6754962f5732145248303e3a1f7b96b.tar.gz
llvm-fab8c796f6754962f5732145248303e3a1f7b96b.tar.bz2
llvm-fab8c796f6754962f5732145248303e3a1f7b96b.tar.xz
* 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
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h2
1 files changed, 1 insertions, 1 deletions
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<BasicBlock>
: public SymbolTableListTraits<BasicBlock, Function, Function> {
// 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<BasicBlock> &getList(Function *F);
};