diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-06 21:31:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-06 21:31:57 +0000 |
commit | fab8c796f6754962f5732145248303e3a1f7b96b (patch) | |
tree | 55fff7df3671dcfddefa7d6d99eb74f01048048b /include/llvm/Function.h | |
parent | 82f2f954fd5939dd906a48beaf56f625c4fbc8db (diff) | |
download | external_llvm-fab8c796f6754962f5732145248303e3a1f7b96b.zip external_llvm-fab8c796f6754962f5732145248303e3a1f7b96b.tar.gz external_llvm-fab8c796f6754962f5732145248303e3a1f7b96b.tar.bz2 |
* 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 5976745..4c0e0ec 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); }; |