[sema] Remove unused variable from r178283

Wouldn't it be cool if we had a compiler for Windows that could warn
about these things?

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Kleckner 2013-03-28 20:54:13 +00:00
Родитель 84e9ab44af
Коммит edd2cb381e
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -1738,7 +1738,6 @@ QualType Sema::BuildMemberPointerType(QualType T, QualType Class,
// Otherwise we may disagree about the size at different points in the TU. // Otherwise we may disagree about the size at different points in the TU.
// FIXME: MSVC picks a model on the first use that needs to know the size, // FIXME: MSVC picks a model on the first use that needs to know the size,
// rather than on the first mention of the type, e.g. typedefs. // rather than on the first mention of the type, e.g. typedefs.
SourceRange DeclRange = RD->getSourceRange();
if (RequireCompleteType(Loc, Class, 0) && !RD->isBeingDefined()) { if (RequireCompleteType(Loc, Class, 0) && !RD->isBeingDefined()) {
// We know it doesn't have an attribute and it's incomplete, so use the // We know it doesn't have an attribute and it's incomplete, so use the
// unspecified inheritance model. If we're in the record body, we can // unspecified inheritance model. If we're in the record body, we can