Home
last modified time | relevance | path

Searched refs:PMap (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransProtectedScope.cpp56 ParentMap &PMap; member in __anon535aaa9d0111::CaseCollector
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector() argument
61 : PMap(PMap), Cases(Cases) { } in CaseCollector()
88 Stmt *Parent = PMap.getParent(S); in getCaseParent()
90 Parent = PMap.getParent(Parent); in getCaseParent()
DTransforms.h48 ParentMap PMap; variable
53 : MigrateCtx(MigrateCtx), PMap(S), TopStmt(S) {} in BodyContext()
56 ParentMap &getParentMap() { return PMap; } in getParentMap()
DObjCMT.cpp234 const ParentMap *PMap) { in rewriteToPropertyDotSyntax() argument
313 ParentMap &PMap; member in __anon541d4ad00211::ObjCMigrator
316 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap) in ObjCMigrator() argument
317 : Consumer(consumer), PMap(PMap) { } in ObjCMigrator()
325 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
338 commit, &PMap); in VisitObjCMessageExpr()
358 std::unique_ptr<ParentMap> PMap; member in __anon541d4ad00211::BodyMigrator
367 PMap.reset(new ParentMap(S)); in TraverseStmt()
368 ObjCMigrator(Consumer, *PMap).TraverseStmt(S); in TraverseStmt()
/external/llvm-project/clang/lib/ARCMigrate/
DTransProtectedScope.cpp56 ParentMap &PMap; member in __anondba8d44b0111::CaseCollector
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector() argument
61 : PMap(PMap), Cases(Cases) { } in CaseCollector()
89 Stmt *Parent = PMap.getParent(S); in getCaseParent()
91 Parent = PMap.getParent(Parent); in getCaseParent()
DTransforms.h47 ParentMap PMap; variable
52 : MigrateCtx(MigrateCtx), PMap(S), TopStmt(S) {} in BodyContext()
55 ParentMap &getParentMap() { return PMap; } in getParentMap()
DObjCMT.cpp237 const ParentMap *PMap) { in rewriteToPropertyDotSyntax() argument
316 ParentMap &PMap; member in __anonb70a21be0211::ObjCMigrator
319 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap) in ObjCMigrator() argument
320 : Consumer(consumer), PMap(PMap) { } in ObjCMigrator()
328 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
341 commit, &PMap); in VisitObjCMessageExpr()
361 std::unique_ptr<ParentMap> PMap; member in __anonb70a21be0211::BodyMigrator
370 PMap.reset(new ParentMap(S)); in TraverseStmt()
371 ObjCMigrator(Consumer, *PMap).TraverseStmt(S); in TraverseStmt()
/external/clang/include/clang/Edit/
DRewriters.h32 const ParentMap *PMap);
/external/llvm-project/clang/include/clang/Edit/
DRewriters.h30 const ParentMap *PMap);
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp329 const ParentMap *PMap);
341 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax() argument
347 return rewriteToArrayLiteral(Msg, NS, commit, PMap); in rewriteToObjCLiteralSyntax()
380 const ParentMap *PMap) { in rewriteToArrayLiteral() argument
381 if (PMap) { in rewriteToArrayLiteral()
383 dyn_cast_or_null<ObjCMessageExpr>(PMap->getParentIgnoreParenCasts(Msg)); in rewriteToArrayLiteral()
/external/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp328 const ParentMap *PMap);
340 const ParentMap *PMap) { in rewriteToObjCLiteralSyntax() argument
346 return rewriteToArrayLiteral(Msg, NS, commit, PMap); in rewriteToObjCLiteralSyntax()
379 const ParentMap *PMap) { in rewriteToArrayLiteral() argument
380 if (PMap) { in rewriteToArrayLiteral()
382 dyn_cast_or_null<ObjCMessageExpr>(PMap->getParentIgnoreParenCasts(Msg)); in rewriteToArrayLiteral()