diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-03-28 20:54:13 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-03-28 20:54:13 +0000 |
commit | d38b8352307ced953991296914ca53c41195e6fc (patch) | |
tree | 5c9bd24efc485d2ef2ae96ee0625aa64dfb44b1e | |
parent | 97b8ebe600dbde0df49777c261beecb43b63fe84 (diff) | |
download | bcm5719-llvm-d38b8352307ced953991296914ca53c41195e6fc.tar.gz bcm5719-llvm-d38b8352307ced953991296914ca53c41195e6fc.zip |
[sema] Remove unused variable from r178283
Wouldn't it be cool if we had a compiler for Windows that could warn
about these things?
llvm-svn: 178289
-rw-r--r-- | clang/lib/Sema/SemaType.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index bf289074814..cbd8c31fa7e 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -1738,7 +1738,6 @@ QualType Sema::BuildMemberPointerType(QualType T, QualType Class, // 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, // rather than on the first mention of the type, e.g. typedefs. - SourceRange DeclRange = RD->getSourceRange(); if (RequireCompleteType(Loc, Class, 0) && !RD->isBeingDefined()) { // 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 |