diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-18 21:18:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-18 21:18:23 +0000 |
commit | 0cd0d881604775f3f97048645f040b2ef4f61e4b (patch) | |
tree | 3340f491b6eefaabc97dc41d3287b6c38fcaa474 /tools | |
parent | 70d0ff1a977273c925fea03070cf33c4a6cbd2cf (diff) | |
download | external_llvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.zip external_llvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.tar.gz external_llvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.tar.bz2 |
eliminate the Type::getDescription() method, using "<<" instead. This
removes some gunk from LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-dis/llvm-dis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index 7453d9e..9020a52 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -74,7 +74,7 @@ public: if (!V.getType()->isVoidTy()) { OS.PadToColumn(50); Padded = true; - OS << "; [#uses=" << V.getNumUses() << " type=" << V.getType()->getDescription() << "]"; // Output # uses and type + OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]"; // Output # uses and type } if (const Instruction *I = dyn_cast<Instruction>(&V)) { const DebugLoc &DL = I->getDebugLoc(); |