aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 21:56:02 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 21:56:02 +0000
commit5109f75f50501e3bd8ade66029ca485aeb359ff6 (patch)
treee05d97fd8d95031f6583c20a2cf5a8f1a5986652 /include/llvm/Module.h
parent5e1cfc58c1907eb70710c54808762657cf625180 (diff)
downloadexternal_llvm-5109f75f50501e3bd8ade66029ca485aeb359ff6.zip
external_llvm-5109f75f50501e3bd8ade66029ca485aeb359ff6.tar.gz
external_llvm-5109f75f50501e3bd8ade66029ca485aeb359ff6.tar.bz2
* 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/Module.h')
-rw-r--r--include/llvm/Module.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index bc7f564..d94500a 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -120,6 +120,8 @@ public:
return V->getValueType() == Value::ModuleVal;
}
+ virtual void print(std::ostream &OS) const;
+
// dropAllReferences() - This function causes all the subinstructions to "let
// go" of all references that they are maintaining. This allows one to
// 'delete' a whole class at a time, even though there may be circular