Home | History | Annotate | Download | only in Sema

Lines Matching refs:DG

62 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc,
64 DeclGroupRef DG = dg.getAsVal<DeclGroupRef>();
67 if (DG.isNull()) return StmtError();
69 return Owned(new (Context) DeclStmt(DG, StartLoc, EndLoc));
72 void Sema::ActOnForEachDeclStmt(DeclGroupPtrTy dg) {
73 DeclGroupRef DG = dg.getAsVal<DeclGroupRef>();
76 if (DG.isNull() || !DG.isSingleDecl()) return;
77 VarDecl *var = cast<VarDecl>(DG.getSingleDecl());