From e3cea80ddb5da0cd8e44a93fbf90bbdecbd4d0ba Mon Sep 17 00:00:00 2001 From: Robert Wilhelm Date: Mon, 22 Jul 2013 05:04:01 +0000 Subject: [PATCH] Remove superfluous cast. llvm-svn: 186807 --- clang/lib/Sema/SemaDeclCXX.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp index 9b85c10d5948..509a30209aad 100644 --- a/clang/lib/Sema/SemaDeclCXX.cpp +++ b/clang/lib/Sema/SemaDeclCXX.cpp @@ -1490,8 +1490,7 @@ void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, CXXBaseSpecifier **Bases, return; AdjustDeclIfTemplate(ClassDecl); - AttachBaseSpecifiers(cast(ClassDecl), - (CXXBaseSpecifier**)(Bases), NumBases); + AttachBaseSpecifiers(cast(ClassDecl), Bases, NumBases); } /// \brief Determine whether the type \p Derived is a C++ class that is