Home | History | Annotate | Download | only in Analysis

Lines Matching refs:DeclStmt

372   CFGBlock *VisitDeclStmt(DeclStmt *DS);
373 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
443 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, LocalScope* Scope = NULL);
930 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI))
937 // interesting only for DeclStmt.
938 DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements()))
944 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS,
949 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end()
1135 return VisitDeclStmt(cast<DeclStmt>(S));
1617 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) {
1629 // Build an individual DeclStmt for each decl.
1630 for (DeclStmt::reverse_decl_iterator I = DS->decl_rbegin(),
1633 // Get the alignment of the new DeclStmt, padding out to >=8 bytes.
1634 unsigned A = llvm::AlignOf<DeclStmt>::Alignment < 8
1635 ? 8 : llvm::AlignOf<DeclStmt>::Alignment;
1637 // Allocate the DeclStmt using the BumpPtrAllocator. It will get
1641 void *Mem = cfg->getAllocator().Allocate(sizeof(DeclStmt), A);
1642 DeclStmt *DSNew = new (Mem) DeclStmt(DG, D->getLocation(), GetEndLoc(D));
1645 // Append the fake DeclStmt to block.
1654 CFGBlock *CFGBuilder::VisitDeclSubExpr(DeclStmt *DS) {
1659 // Of everything that can be declared in a DeclStmt, only VarDecls impact
2156 // a DeclStmt and the other returns a DeclRefExpr.
3474 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P;
3579 void VisitDeclStmt(DeclStmt *DS) {