[llvm-commits] [llvm] r74017 - /llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp
Devang Patel
dpatel at apple.com
Tue Jun 23 15:23:13 PDT 2009
Author: dpatel
Date: Tue Jun 23 17:23:13 2009
New Revision: 74017
URL: http://llvm.org/viewvc/llvm-project?rev=74017&view=rev
Log:
Use getReturnTypeName() to print return type.
Modified:
llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp
Modified: llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp?rev=74017&r1=74016&r2=74017&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp (original)
+++ llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp Tue Jun 23 17:23:13 2009
@@ -93,7 +93,7 @@
DISubprogram Subprogram(cast<GlobalVariable>(FS->getSubprogram()));
std::string Res1, Res2;
Out << "; fully qualified function name: " << Subprogram.getDisplayName(Res1)
- << " return type: " << Subprogram.getType().getName(Res2)
+ << " return type: " << Subprogram.getReturnTypeName(Res2)
<< " at line " << Subprogram.getLineNumber()
<< "\n\n";
}
More information about the llvm-commits
mailing list