Home | History | Annotate | Download | only in Sema

Lines Matching refs:DRE

502   DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
520 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
537 Diag(DRE->getLocStart(), diag::ext_typecheck_convert_discards_qualifiers)
555 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intfltptr)
563 Diag(DRE->getLocStart(), diag::err_atomic_exclusive_builtin_pointer_size)
577 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
942 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1061 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1071 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic)
1076 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_atomic)
1087 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1092 Diag(DRE->getLocStart(), diag::err_atomic_op_bitwise_needs_atomic_int)
1099 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1108 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_trivial_copy)
1127 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
1286 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1287 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
1311 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1319 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intptr)
1333 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
1382 Diag(DRE->getLocStart(), diag::err_atomic_builtin_pointer_size)
1555 LookupResult Res(*this, DN, DRE->getLocStart(), LookupOrdinaryName);
1592 DRE->getQualifierLoc(),
1596 DRE->getLocation(),
1598 DRE->getValueKind());
1950 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1951 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
6057 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
6058 if (EnumConstantDecl *ECD = dyn_cast<EnumConstantDecl>(DRE->getDecl())) {
6221 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
6222 if (!DRE->getDecl()->getType()->isReferenceType())
6591 } else if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
6593 return DRE->getDecl();
7106 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
7107 ND = dyn_cast<NamedDecl>(DRE->getDecl());
7191 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
7192 ND = dyn_cast<NamedDecl>(DRE->getDecl());
7393 if (const DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(LHS)) {
7394 if (DRE->getDecl() != Variable)
7954 const DeclRefExpr *DRE = cast<DeclRefExpr>(TypeExpr);
7955 *VD = DRE->getDecl();