Home | History | Annotate | Download | only in Sema

Lines Matching refs:DRE

8128       if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(E)) {
8129 HandleDeclRefExpr(DRE);
8147 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base))
8148 HandleDeclRefExpr(DRE);
8183 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base)) {
8185 HandleDeclRefExpr(DRE);
8196 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->getArg(0)))
8197 HandleDeclRefExpr(DRE);
8215 void HandleDeclRefExpr(DeclRefExpr *DRE) {
8216 Decl* ReferenceDecl = DRE->getDecl();
8227 S.DiagRuntimeBehavior(DRE->getLocStart(), DRE,
8229 << DRE->getNameInfo().getName()
8231 << DRE->getSourceRange());
8250 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()))
8251 if (DRE->getDecl() == OrigDecl)
12944 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InitExpr);
12945 if (!DRE)
12948 EnumConstantDecl *EnumConstant = dyn_cast<EnumConstantDecl>(DRE->getDecl());