[cfe-commits] r109358 - /cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Eli Friedman
eli.friedman at gmail.com
Sat Jul 24 14:35:09 PDT 2010
Author: efriedma
Date: Sat Jul 24 16:35:09 2010
New Revision: 109358
URL: http://llvm.org/viewvc/llvm-project?rev=109358&view=rev
Log:
Remove dead code.
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=109358&r1=109357&r2=109358&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Sat Jul 24 16:35:09 2010
@@ -5399,9 +5399,6 @@
// The form of initialization (using parentheses or '=') is generally
// insignificant, but does matter when the entity being initialized has a
// class type.
- QualType DeclInitType = VDecl->getType();
- if (const ArrayType *Array = Context.getAsArrayType(DeclInitType))
- DeclInitType = Context.getBaseElementType(Array);
if (!VDecl->getType()->isDependentType() &&
RequireCompleteType(VDecl->getLocation(), VDecl->getType(),
More information about the cfe-commits
mailing list