[cfe-commits] r101176 - /cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
Daniel Dunbar
daniel at zuster.org
Tue Apr 13 13:52:05 PDT 2010
Author: ddunbar
Date: Tue Apr 13 15:52:05 2010
New Revision: 101176
URL: http://llvm.org/viewvc/llvm-project?rev=101176&view=rev
Log:
Remove unnecessary cast.
Modified:
cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
Modified: cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.cpp?rev=101176&r1=101175&r2=101176&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.cpp Tue Apr 13 15:52:05 2010
@@ -900,7 +900,7 @@
DumpCXXRecordLayout(OS, CXXRD, *this, 0, 0, 0,
/*IncludeVirtualBases=*/true);
else
- OS << getTypeDeclType((RecordDecl *)RD).getAsString();
+ OS << getTypeDeclType(RD).getAsString();
OS << " sizeof=" << Info.getSize() / 8;
OS << ", dsize=" << Info.getDataSize() / 8;
More information about the cfe-commits
mailing list