Home | History | Annotate | Download | only in AST

Lines Matching defs:DG

442   DeclGroupRef DG;
446 DeclStmt(DeclGroupRef dg, SourceLocation startLoc,
447 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg),
456 return DG.isSingleDecl();
459 const Decl *getSingleDecl() const { return DG.getSingleDecl(); }
460 Decl *getSingleDecl() { return DG.getSingleDecl(); }
462 const DeclGroupRef getDeclGroup() const { return DG; }
463 DeclGroupRef getDeclGroup() { return DG; }
464 void setDeclGroup(DeclGroupRef DGR) { DG = DGR; }
480 return child_range(child_iterator(DG.begin(), DG.end()),
481 child_iterator(DG.end(), DG.end()));
487 decl_iterator decl_begin() { return DG.begin(); }
488 decl_iterator decl_end() { return DG.end(); }
489 const_decl_iterator decl_begin() const { return DG.begin(); }
490 const_decl_iterator decl_end() const { return DG.end(); }