diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-28 01:02:49 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-28 01:02:49 +0000 |
commit | 3a9ec2463ddeba0820f284e2952bd6919cd5e080 (patch) | |
tree | cf7c5fe955cfaf5d8f363b9d96323bfc3766cbcf /include/llvm/Assembly | |
parent | dc87725902736ee4a843ee70a46627ea4abcc235 (diff) | |
download | external_llvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.zip external_llvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.tar.gz external_llvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.tar.bz2 |
For PR387:
Close out this long standing bug by removing the remaining overloaded
virtual functions in LLVM. The -Woverloaded-virtual option is now turned on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/Writer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index c8c09e8..8b96d0d 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -43,6 +43,10 @@ std::ostream &WriteAsOperand(std::ostream &, const Value *, bool PrintTy = true, std::ostream &WriteAsOperand(std::ostream&, const Type*, bool PrintTy = true, bool PrintName = true, const Module* Context = 0); +#ifndef NDEBUG +void dumpType(const Type* Ty); +void dumpValue(const Value* Val); +#endif } // End llvm namespace #endif |