projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d59de5
)
Add a new, compatible, interface function for writing types as operands.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 4 Jul 2004 10:59:05 +0000
(10:59 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 4 Jul 2004 10:59:05 +0000
(10:59 +0000)
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
include/llvm/Assembly/Writer.h
patch
|
blob
|
history
diff --git
a/include/llvm/Assembly/Writer.h
b/include/llvm/Assembly/Writer.h
index fcd450f08d29cbfe8db2ce8923db273cd568a963..43edb090c3813b618c841bb677d0bd46fa75c6bf 100644
(file)
--- a/
include/llvm/Assembly/Writer.h
+++ b/
include/llvm/Assembly/Writer.h
@@
-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