Home | History | Annotate | Download | only in Sema

Lines Matching defs:DRE

8822       DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base);
8823 if (!DRE || DRE->getDecl() != OrigDecl)
8850 HandleDeclRefExpr(DRE);
8859 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(E)) {
8860 HandleDeclRefExpr(DRE);
8905 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base))
8906 HandleDeclRefExpr(DRE);
8949 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base)) {
8951 HandleDeclRefExpr(DRE);
9038 void HandleDeclRefExpr(DeclRefExpr *DRE) {
9039 Decl* ReferenceDecl = DRE->getDecl();
9048 DRE->getDecl()->getType()->isRecordType()) {
9055 S.DiagRuntimeBehavior(DRE->getLocStart(), DRE,
9057 << DRE->getNameInfo().getName()
9059 << DRE->getSourceRange());
9078 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()))
9079 if (DRE->getDecl() == OrigDecl)
14138 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InitExpr);
14139 if (!DRE)
14142 EnumConstantDecl *EnumConstant = dyn_cast<EnumConstantDecl>(DRE->getDecl());