r207870 - Remove unused typedef found by gcc's -Wunused-local-typedefs.

Nico Weber nicolasweber at gmx.de
Fri May 2 14:22:21 PDT 2014


Author: nico
Date: Fri May  2 16:22:21 2014
New Revision: 207870

URL: http://llvm.org/viewvc/llvm-project?rev=207870&view=rev
Log:
Remove unused typedef found by gcc's -Wunused-local-typedefs.

Modified:
    cfe/trunk/lib/Analysis/ThreadSafety.cpp

Modified: cfe/trunk/lib/Analysis/ThreadSafety.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ThreadSafety.cpp?rev=207870&r1=207869&r2=207870&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ThreadSafety.cpp (original)
+++ cfe/trunk/lib/Analysis/ThreadSafety.cpp Fri May  2 16:22:21 2014
@@ -1612,8 +1612,6 @@ template <typename AttrType>
 void ThreadSafetyAnalyzer::getMutexIDs(MutexIDList &Mtxs, AttrType *Attr,
                                        Expr *Exp, const NamedDecl *D,
                                        VarDecl *SelfDecl) {
-  typedef typename AttrType::args_iterator iterator_type;
-
   if (Attr->args_size() == 0) {
     // The mutex held is the "this" object.
     SExpr Mu(0, Exp, D, SelfDecl);





More information about the cfe-commits mailing list