/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 143 const DeclRefExpr *DRE) in WeakObjectProfileTy() 196 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in markSafeWeakUse() local 239 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { in visitPotentialCaptures() local
|
H A D | SemaBoundsSafety.cpp | 144 auto *DRE = dyn_cast<DeclRefExpr>(E); in CheckCountedByAttrOnField() local
|
H A D | CheckExprLifetime.cpp | 570 auto *DRE = cast<DeclRefExpr>(Init); in visitLocalsRetainedByReferenceBinding() local 676 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in visitLocalsRetainedByInitializer() local 1155 auto *DRE = dyn_cast<DeclRefExpr>(L); in checkExprLifetimeImpl() local 1196 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in checkExprLifetimeImpl() local
|
H A D | SemaStmtAsm.cpp | 146 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local 758 if (DeclRefExpr *DRE = dyn_cast<clang::DeclRefExpr>(Res)) in FillInlineAsmIdentifierInfo() local
|
H A D | SemaExpr.cpp | 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 [all …]
|
H A D | SemaAvailability.cpp | 739 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr() 816 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr()
|
H A D | SemaRISCV.cpp | 1307 DeclRefExpr *DRE = in CheckBuiltinFunctionCall() local
|
H A D | SemaChecking.cpp | 1471 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in BuiltinSEHScopeCheck() local 2863 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall() local 3523 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in AtomicOpsOverloaded() local 4127 DeclRefExpr *DRE = cast<DeclRefExpr>(Callee->IgnoreParenCasts()); in BuiltinAtomicOverloaded() local 4497 DeclRefExpr *DRE = in BuiltinNontemporalOverloaded() local 5307 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in BuiltinConstantArg() local 11474 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckForReference() local 11982 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getObject() local 13168 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() local 13265 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCCalls.cpp | 46 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
|
H A D | TransProtectedScope.cpp | 183 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
|
H A D | TransRetainReleaseDealloc.cpp | 305 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
|
H A D | TransUnbridgedCasts.cpp | 452 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
|
H A D | Transforms.cpp | 198 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isGlobalVar() local
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 57 static std::string getDREAncestorString(const DeclRefExpr *DRE, in getDREAncestorString() 590 if (const auto *DRE = in getClaimedVarUseSites() local 629 if (const auto *DRE = in getClaimedVarUseSites() local 675 if (const auto *DRE = in getClaimedVarUseSites() local 728 if (const auto *DRE = dyn_cast<DeclRefExpr>(Ptr->IgnoreParenImpCasts())) { in getClaimedVarUseSites() local 773 if (auto *DRE = dyn_cast<DeclRefExpr>(Ctor->getArg(0))) { in getClaimedVarUseSites() local 1063 if (const auto *DRE = in getClaimedVarUseSites() local 1179 const auto *DRE = in getClaimedVarUseSites() local 1206 void discoverUse(const DeclRefExpr *DRE) { Uses->insert(DRE); } in discoverUse() 1209 void claimUse(const DeclRefExpr *DRE) { in claimUse() [all …]
|
H A D | ThreadSafetyCommon.cpp | 308 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr() 487 if (const auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() local 546 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHS)) { in translateBinAssign() local 612 if (const auto *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in translateCastExpr() local
|
H A D | UninitializedValues.cpp | 267 if (const auto *DRE = in findVar() local 332 const auto *DRE = in getSelfInitExpr() local 382 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local 390 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
|
H A D | ReachableCode.cpp | 65 if (const auto *DRE = dyn_cast<DeclRefExpr>(S)) in isBuiltinUnreachable() local
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastValueChecker.cpp | 122 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local 153 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
|
H A D | DereferenceChecker.cpp | 151 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isDeclRefExprToReference() local
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 2103 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2590 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local 2679 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCBoxedExpr() local 2800 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr() local 2952 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr() local 3179 DeclRefExpr *DRE = new (Context) in SynthMsgSendStretCallExpr() local 3275 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 3367 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 3511 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local 3589 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 98 DeclRefExpr DRE( in OMPLexicalScope() local 295 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(VD), in OMPSimdLexicalScope() local 324 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue() local 879 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause() local 1018 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(VD), true, in EmitOMPCopyinClause() local 1095 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPLastprivateClauseInit() local 1517 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local 1528 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local 1539 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local 1554 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | NSAPI.cpp | 571 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
|
H A D | Expr.cpp | 215 else if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isFlexibleArrayMemberLike() local 1568 if (auto *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee() local 2909 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning() local 4087 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local 4151 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getEnumConstantDecl() local 4173 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement() local 4184 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local 4285 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand() local 5099 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | PtrTypesSemantics.cpp | 533 bool VisitDeclRefExpr(const DeclRefExpr *DRE) { in VisitDeclRefExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 965 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local
|