[cfe-commits] r111680 - /cfe/trunk/lib/Sema/SemaOverload.cpp

Fariborz Jahanian fjahanian at apple.com
Fri Aug 20 14:45:03 PDT 2010


Author: fjahanian
Date: Fri Aug 20 16:45:03 2010
New Revision: 111680

URL: http://llvm.org/viewvc/llvm-project?rev=111680&view=rev
Log:
Rmove dead code.

Modified:
    cfe/trunk/lib/Sema/SemaOverload.cpp

Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=111680&r1=111679&r2=111680&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Fri Aug 20 16:45:03 2010
@@ -3996,9 +3996,6 @@
   //   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@





More information about the cfe-commits mailing list