r186807 - Remove superfluous cast.
Robert Wilhelm
robert.wilhelm at gmx.net
Sun Jul 21 22:04:01 PDT 2013
Author: row
Date: Mon Jul 22 00:04:01 2013
New Revision: 186807
URL: http://llvm.org/viewvc/llvm-project?rev=186807&view=rev
Log:
Remove superfluous cast.
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=186807&r1=186806&r2=186807&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Mon Jul 22 00:04:01 2013
@@ -1490,8 +1490,7 @@ void Sema::ActOnBaseSpecifiers(Decl *Cla
return;
AdjustDeclIfTemplate(ClassDecl);
- AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl),
- (CXXBaseSpecifier**)(Bases), NumBases);
+ AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl), Bases, NumBases);
}
/// \brief Determine whether the type \p Derived is a C++ class that is
More information about the cfe-commits
mailing list