Searched refs:ParentMap (Results 1 - 25 of 34) sorted by relevance

12

/external/clang/include/clang/Analysis/
H A DCFGStmtMap.h24 class ParentMap;
28 ParentMap *PM;
31 CFGStmtMap(ParentMap *pm, void *m) : PM(pm), M(m) {}
38 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
H A DAnalysisContext.h32 class ParentMap;
79 std::unique_ptr<ParentMap> PM;
162 ParentMap &getParentMap();
239 ParentMap &getParentMap() const {
/external/clang/include/clang/AST/
H A DParentMap.h1 //===--- ParentMap.h - Mappings from Stmts to their Parents -----*- C++ -*-===//
10 // This file defines the ParentMap class.
21 class ParentMap { class in namespace:clang
24 ParentMap(Stmt* ASTRoot);
25 ~ParentMap();
H A DASTContext.h429 ParentVector *>> ParentMap; typedef in class:clang::ASTContext
2308 std::unique_ptr<ParentMap> AllParents;
/external/clang/include/clang/Edit/
H A DRewriters.h22 class ParentMap;
32 const ParentMap *PMap);
/external/clang/lib/AST/
H A DParentMap.cpp1 //===--- ParentMap.cpp - Mappings from Stmts to their Parents ---*- C++ -*-===//
10 // This file defines the ParentMap class.
14 #include "clang/AST/ParentMap.h"
95 ParentMap::ParentMap(Stmt *S) : Impl(nullptr) { function in class:ParentMap
103 ParentMap::~ParentMap() {
107 void ParentMap::addStmt(Stmt* S) {
113 void ParentMap::setParent(const Stmt *S, const Stmt *Parent) {
120 Stmt* ParentMap
[all...]
H A DAndroid.mk67 ParentMap.cpp \
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h119 ParentMap &getParentMap(Decl const *D) {
H A DExplodedGraph.h148 ParentMap &getParentMap() const {return getLocationContext()->getParentMap();}
/external/clang/lib/Analysis/
H A DCFGStmtMap.cpp16 #include "clang/AST/ParentMap.h"
31 // If 'S' isn't in the map, walk the ParentMap to see if one of its ancestors
78 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) {
H A DAnalysisDeclContext.cpp21 #include "clang/AST/ParentMap.h"
168 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) {
246 ParentMap &AnalysisDeclContext::getParentMap() {
248 PM.reset(new ParentMap(getBody()));
H A DReachableCode.cpp21 #include "clang/AST/ParentMap.h"
78 ParentMap PM(const_cast<Expr *>(RE));
79 // If 'S' is in the ParentMap, it is a subexpression of
/external/clang/lib/StaticAnalyzer/Checkers/
H A DTraversalChecker.cpp15 #include "clang/AST/ParentMap.h"
41 const ParentMap &Parents = C.getLocationContext()->getParentMap();
H A DUnreachableCodeChecker.cpp17 #include "clang/AST/ParentMap.h"
48 static bool isInvalidPath(const CFGBlock *CB, const ParentMap &PM);
63 ParentMap *PM = nullptr;
88 // Bail out if we didn't get the CFG or the ParentMap.
213 const ParentMap &PM) {
H A DDeadStoresChecker.cpp18 #include "clang/AST/ParentMap.h"
129 ParentMap& Parents;
140 ParentMap &parents,
440 ParentMap &pmap = mgr.getParentMap(D);
/external/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp56 ParentMap &PMap;
60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases)
H A DTransforms.h13 #include "clang/AST/ParentMap.h"
48 ParentMap PMap;
56 ParentMap &getParentMap() { return PMap; }
H A DTransRetainReleaseDealloc.cpp23 #include "clang/AST/ParentMap.h"
41 std::unique_ptr<ParentMap> StmtMap;
57 StmtMap.reset(new ParentMap(body));
H A DTransUnbridgedCasts.cpp47 #include "clang/AST/ParentMap.h"
63 std::unique_ptr<ParentMap> StmtMap;
77 StmtMap.reset(new ParentMap(body));
82 // ParentMap does not enter into a BlockDecl to record its stmts, so use a
H A DObjCMT.cpp17 #include "clang/AST/ParentMap.h"
218 ParentMap &PMap;
221 ObjCMigrator(ObjCMigrateASTConsumer &consumer, ParentMap &PMap)
256 std::unique_ptr<ParentMap> PMap;
265 PMap.reset(new ParentMap(S));
/external/llvm/lib/CodeGen/
H A DMachineLICM.cpp233 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap);
671 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) {
679 while (MachineDomTreeNode *Parent = ParentMap[Node]) {
697 DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> ParentMap; local
733 ParentMap[Child] = Node;
772 ExitScopeIfDone(Node, OpenChildren, ParentMap);
669 ExitScopeIfDone(MachineDomTreeNode *Node, DenseMap<MachineDomTreeNode*, unsigned> &OpenChildren, DenseMap<MachineDomTreeNode*, MachineDomTreeNode*> &ParentMap) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp20 #include "clang/AST/ParentMap.h"
343 ParentMap& getParentMap() { return LC->getParentMap(); }
403 static const Stmt *getEnclosingParent(const Stmt *S, const ParentMap &PM) {
426 getEnclosingStmtLocation(const Stmt *S, SourceManager &SMgr, const ParentMap &P,
1335 static bool isContainedByStmt(ParentMap &PM, const Stmt *S, const Stmt *SubS) {
1344 static const Stmt *getStmtBeforeCond(ParentMap &PM, const Stmt *Term,
1358 static bool isInLoopBody(ParentMap &PM, const Stmt *S, const Stmt *Term) {
1525 ParentMap &PM = PDB.getParentMap();
1821 ParentMap &PM = PDB.getParentMap();
1898 static const Stmt *getStmtParent(const Stmt *S, const ParentMap
[all...]
H A DExplodedGraph.cpp16 #include "clang/AST/ParentMap.h"
147 ParentMap &PM = progPoint.getLocationContext()->getParentMap();
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp19 #include "clang/AST/ParentMap.h"
329 const ParentMap *PMap);
341 const ParentMap *PMap) {
380 const ParentMap *PMap) {
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h36 class ParentMap;

Completed in 3387 milliseconds

12