forked from OSchip/llvm-project
parent
4fcf153ffd
commit
1cd30451c0
|
@ -78,7 +78,7 @@ bool FindUsedTypes::run(Module &m) {
|
||||||
// passed in, then the types are printed symbolically if possible, using the
|
// passed in, then the types are printed symbolically if possible, using the
|
||||||
// symbol table from the module.
|
// symbol table from the module.
|
||||||
//
|
//
|
||||||
void FindUsedTypes::printTypes(std::ostream &o, const Module *M = 0) const {
|
void FindUsedTypes::printTypes(std::ostream &o, const Module *M) const {
|
||||||
o << "Types in use by this module:\n";
|
o << "Types in use by this module:\n";
|
||||||
if (M) {
|
if (M) {
|
||||||
CachedWriter CW(M, o);
|
CachedWriter CW(M, o);
|
||||||
|
|
Loading…
Reference in New Issue