Home | History | Annotate | Download | only in Analysis

Lines Matching refs:DeclStmt

375   CFGBlock *VisitDeclStmt(DeclStmt *DS);
376 CFGBlock *VisitDeclSubExpr(DeclStmt *DS);
446 DeclStmt *DS,
1193 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI))
1200 // interesting only for DeclStmt.
1201 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements()))
1207 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS,
1402 return VisitDeclStmt(cast<DeclStmt>(S));
1902 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) {
1914 // Build an individual DeclStmt for each decl.
1915 for (DeclStmt::reverse_decl_iterator I = DS->decl_rbegin(),
1918 // Get the alignment of the new DeclStmt, padding out to >=8 bytes.
1919 unsigned A = llvm::AlignOf<DeclStmt>::Alignment < 8
1920 ? 8 : llvm::AlignOf<DeclStmt>::Alignment;
1922 // Allocate the DeclStmt using the BumpPtrAllocator. It will get
1926 void *Mem = cfg->getAllocator().Allocate(sizeof(DeclStmt), A);
1927 DeclStmt *DSNew = new (Mem) DeclStmt(DG, D->getLocation(), GetEndLoc(D));
1930 // Append the fake DeclStmt to block.
1939 DeclStmt *DS) {
1944 // Of everything that can be declared in a DeclStmt, only VarDecls impact
2141 if (const DeclStmt* DS = I->getConditionVariableDeclStmt()) {
2143 LastBlock = addStmt(const_cast<DeclStmt *>(DS));
2443 // a DeclStmt and the other returns a DeclRefExpr.
3830 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P;
3938 void VisitDeclStmt(DeclStmt *DS) {