Add a new, compatible, interface function for writing types as operands.

This is necessary because Types are no longer Values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-07-04 10:59:05 +00:00
parent 2d59de545a
commit ed3d16e443

View File

@ -40,6 +40,9 @@ std::ostream &WriteTypeSymbolic(std::ostream &, const Type *, const Module *M);
std::ostream &WriteAsOperand(std::ostream &, const Value *, bool PrintTy = true,
bool PrintName = true, const Module *Context = 0);
std::ostream &WriteAsOperand(std::ostream&, const Type*, bool PrintTy = true,
bool PrintName = true, const Module* Context = 0);
} // End llvm namespace
#endif