aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-13 19:15:01 +0000
committerChris Lattner <sabre@nondot.org>2005-02-13 19:15:01 +0000
commit8a1573f823e444ae6fe4cac89763030936d07d06 (patch)
tree4f3b234bac42beaba336e3c1e0716a0bd1c5ae05 /include/llvm/Module.h
parenta88155dabfe7d116a76face6f014393585aab18a (diff)
downloadexternal_llvm-8a1573f823e444ae6fe4cac89763030936d07d06.zip
external_llvm-8a1573f823e444ae6fe4cac89763030936d07d06.tar.gz
external_llvm-8a1573f823e444ae6fe4cac89763030936d07d06.tar.bz2
Do not replace ostream << Module*, only ostream << Module&.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h
index 61ba60f..8b4a50a 100644
--- a/include/llvm/Module.h
+++ b/include/llvm/Module.h
@@ -263,11 +263,6 @@ public:
void dropAllReferences();
};
-inline std::ostream &operator<<(std::ostream &O, const Module *M) {
- M->print(O);
- return O;
-}
-
inline std::ostream &operator<<(std::ostream &O, const Module &M) {
M.print(O);
return O;