diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-08 21:56:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-08 21:56:02 +0000 |
commit | 5109f75f50501e3bd8ade66029ca485aeb359ff6 (patch) | |
tree | e05d97fd8d95031f6583c20a2cf5a8f1a5986652 /include/llvm/Function.h | |
parent | 5e1cfc58c1907eb70710c54808762657cf625180 (diff) |
* Add virtual print methods
* s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 4621694041..322cb8af7b 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -83,6 +83,7 @@ public: inline const BasicBlock *back() const { return BasicBlocks.back(); } inline BasicBlock *back() { return BasicBlocks.back(); } + virtual void print(std::ostream &OS) const; // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const Function *) { return true; } |