Lines Matching defs:DRE

523     if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))  in DefaultFunctionArrayConversion()  local
2214 auto *DRE = dyn_cast<DeclRefExpr>(VD->getInit()); in isCapturingReferenceToHostVarInCUDADeviceLambda() local
4319 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Inner)) { in CheckAlignOfExpr() local
5745 if (auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) { in isParenthetizedAndQualifiedAddressOfExpr() local
6348 const DeclRefExpr *DRE = dyn_cast_if_present<DeclRefExpr>(E); in DiagnosedUnqualifiedCallsToStdFunctions() local
6399 if (auto *DRE = dyn_cast<DeclRefExpr>(Fn->IgnoreParens()); in ActOnCallExpr() local
6514 if (auto *DRE = dyn_cast<DeclRefExpr>(NakedFn)) { in BuildCallExpr() local
10450 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
10464 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
13124 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isReferenceToNonConstCapture() local
13260 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in DiagnoseConstAssignment() local
13354 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in DiagnoseRecursiveConstFields() local
13618 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InnerLHS); in CheckAssignmentOperands() local
13955 const auto *DRE = cast<DeclRefExpr>(Op->IgnoreParens()); in CheckUseOfCXXMethodAsAddressOfOperand() local
14079 DeclRefExpr *DRE = cast<DeclRefExpr>(op); in CheckAddressOfOperand() local
14135 } else if (const auto *DRE = dyn_cast<DeclRefExpr>(op)) { in CheckAddressOfOperand() local
14238 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp); in RecordModifiableNonNullParam() local
14497 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getDeclFromExpr() local
14677 if (auto *DRE = dyn_cast<DeclRefExpr>(LHS.get()->IgnoreParens())) in CreateBuiltinBinOp() local
15520 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in isQualifiedMemberAccess() local
16583 auto *DRE = dyn_cast<DeclRefExpr>(SrcExpr->IgnoreParenImpCasts()); in maybeDiagnoseAssignmentToFunction() local
19125 auto *DRE = cast<DeclRefExpr>(E); in rebuildPotentialResultsAsNonOdrUsed() local
19410 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { in CleanupVarDeclMarking() local
19538 if (auto *DRE = dyn_cast_or_null<DeclRefExpr>(E)) in DoMarkVarDeclReferenced() local
19591 if (DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(E)) in DoMarkVarDeclReferenced() local
20555 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in resolveDecl() local
20797 auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()); in CheckPlaceholderExpr() local