[cfe-commits] r158100 - /cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Jun 6 13:15:08 PDT 2012
Author: d0k
Date: Wed Jun 6 15:15:08 2012
New Revision: 158100
URL: http://llvm.org/viewvc/llvm-project?rev=158100&view=rev
Log:
Remove the last dead private member in clang.
Modified:
cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp
Modified: cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp?rev=158100&r1=158099&r2=158100&view=diff
==============================================================================
--- cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp (original)
+++ cfe/trunk/lib/ARCMigrate/TransBlockObjCVariable.cpp Wed Jun 6 15:15:08 2012
@@ -109,13 +109,11 @@
};
class BlockObjCVarRewriter : public RecursiveASTVisitor<BlockObjCVarRewriter> {
- MigrationPass &Pass;
llvm::DenseSet<VarDecl *> &VarsToChange;
public:
- BlockObjCVarRewriter(MigrationPass &pass,
- llvm::DenseSet<VarDecl *> &VarsToChange)
- : Pass(pass), VarsToChange(VarsToChange) { }
+ BlockObjCVarRewriter(llvm::DenseSet<VarDecl *> &VarsToChange)
+ : VarsToChange(VarsToChange) { }
bool TraverseBlockDecl(BlockDecl *block) {
RootBlockObjCVarRewriter(VarsToChange).TraverseDecl(block);
@@ -129,7 +127,7 @@
MigrationPass &Pass = BodyCtx.getMigrationContext().Pass;
llvm::DenseSet<VarDecl *> VarsToChange;
- BlockObjCVarRewriter trans(Pass, VarsToChange);
+ BlockObjCVarRewriter trans(VarsToChange);
trans.TraverseStmt(BodyCtx.getTopStmt());
for (llvm::DenseSet<VarDecl *>::iterator
More information about the cfe-commits
mailing list