Home | History | Annotate | Download | only in Sema

Lines Matching defs:DRE

252     auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
254 << DRE->getDecl()->getIdentifier();
766 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
784 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
801 Diag(DRE->getLocStart(), diag::ext_typecheck_convert_discards_qualifiers)
819 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intfltptr)
827 Diag(DRE->getLocStart(), diag::err_atomic_exclusive_builtin_pointer_size)
841 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
1566 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1686 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1696 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic)
1701 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_atomic)
1708 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_pointer)
1718 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1723 Diag(DRE->getLocStart(), diag::err_atomic_op_bitwise_needs_atomic_int)
1735 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr)
1744 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_trivial_copy)
1760 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
1927 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
1928 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
1952 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
1960 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intptr)
1974 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership)
2025 Diag(DRE->getLocStart(), diag::err_atomic_builtin_pointer_size)
2224 LookupResult Res(*this, DN, DRE->getLocStart(), LookupOrdinaryName);
2261 DRE->getQualifierLoc(),
2265 DRE->getLocation(),
2267 DRE->getValueKind());
2292 DeclRefExpr *DRE =
2294 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
2321 Diag(DRE->getLocStart(), diag::err_nontemporal_builtin_must_be_pointer)
2333 Diag(DRE->getLocStart(),
2839 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts());
2840 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl());
7391 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
7392 if (EnumConstantDecl *ECD = dyn_cast<EnumConstantDecl>(DRE->getDecl())) {
7578 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
7579 if (!DRE->getDecl()->getType()->isReferenceType())
8026 } else if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
8028 return DRE->getDecl();
8573 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
8574 ND = dyn_cast<NamedDecl>(DRE->getDecl());
8658 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
8659 ND = dyn_cast<NamedDecl>(DRE->getDecl());
8867 if (const DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(LHS)) {
8868 if (DRE->getDecl() != Variable)
9685 const DeclRefExpr *DRE = cast<DeclRefExpr>(TypeExpr);
9686 *VD = DRE->getDecl();