]> granicus.if.org Git - clang/commitdiff
Remove unused typedef found by gcc's -Wunused-local-typedefs.
authorNico Weber <nicolasweber@gmx.de>
Fri, 2 May 2014 21:22:21 +0000 (21:22 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 2 May 2014 21:22:21 +0000 (21:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207870 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ThreadSafety.cpp

index 967379ab788ebb1e5f31a9b7bd0a895e8ea9161b..b34b4814b6f6a82d4f745057106b0013a1e9731f 100644 (file)
@@ -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);