]> granicus.if.org Git - clang/commitdiff
Rmove dead code.
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 20 Aug 2010 21:45:03 +0000 (21:45 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 20 Aug 2010 21:45:03 +0000 (21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111680 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 30979b78d33a228a4105864cfb3d426a4d7a605f..9f3ee1e202fb73b66e3912875530a472fb78b40e 100644 (file)
@@ -3996,9 +3996,6 @@ void Sema::AddMemberOperatorCandidates(OverloadedOperatorKind Op,
   //   candidates, non-member candidates and built-in candidates, are
   //   constructed as follows:
   QualType T1 = Args[0]->getType();
-  QualType T2;
-  if (NumArgs > 1)
-    T2 = Args[1]->getType();
 
   //     -- If T1 is a class type, the set of member candidates is the
   //        result of the qualified lookup of T1::operator@