Remove superfluous cast.

llvm-svn: 186807
This commit is contained in:
Robert Wilhelm 2013-07-22 05:04:01 +00:00
parent 54cb789d39
commit e3cea80ddb
1 changed files with 1 additions and 2 deletions

View File

@ -1490,8 +1490,7 @@ void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, CXXBaseSpecifier **Bases,
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