Home
last modified time | relevance | path

Searched defs:DRE (Results 1 – 25 of 66) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScopeInfo.cpp140 const DeclRefExpr *DRE) in WeakObjectProfileTy()
193 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in markSafeWeakUse() local
236 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { in visitPotentialCaptures() local
H A DSemaStmtAsm.cpp144 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local
740 if (DeclRefExpr *DRE = dyn_cast<clang::DeclRefExpr>(Res)) in FillInlineAsmIdentifierInfo() local
H A DSemaAvailability.cpp623 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr()
714 bool VisitDeclRefExpr(DeclRefExpr *DRE) { in VisitDeclRefExpr()
H A DSemaExpr.cpp498 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in DefaultFunctionArrayConversion() local
1961 auto *DRE = dyn_cast<DeclRefExpr>(VD->getInit()); in isCapturingReferenceToHostVarInCUDADeviceLambda() local
4284 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Inner)) { in CheckAlignOfExpr() local
6480 if (auto *DRE = dyn_cast<DeclRefExpr>(NakedFn)) { in BuildCallExpr() local
10240 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
10254 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSArg)) { in DiagnoseDivisionSizeofPointerOrArray() local
12586 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isReferenceToNonConstCapture() local
12722 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in DiagnoseConstAssignment() local
12816 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in DiagnoseRecursiveConstFields() local
13073 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InnerLHS); in CheckAssignmentOperands() local
[all …]
H A DSemaInit.cpp5648 auto *DRE = dyn_cast<DeclRefExpr>(E); in isExprAnUnaddressableFunction() local
7138 auto *DRE = cast<DeclRefExpr>(Init); in visitLocalsRetainedByReferenceBinding() local
7235 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in visitLocalsRetainedByInitializer() local
7688 auto *DRE = dyn_cast<DeclRefExpr>(L); in checkInitializerLifetime() local
7727 if (auto *DRE = dyn_cast<DeclRefExpr>(L)) { in checkInitializerLifetime() local
7854 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg->IgnoreParenImpCasts()); in CheckMoveOnConstruction() local
8230 if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) { in Perform() local
8758 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Init)) { in Perform() local
H A DSemaChecking.cpp792 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinSEHScopeCheck() local
1974 auto *DRE = dyn_cast<DeclRefExpr>(TheCall->getArg(0)->IgnoreImpCasts()); in CheckBuiltinFunctionCall() local
2339 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall() local
4875 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded() local
5399 DeclRefExpr *DRE = cast<DeclRefExpr>(Callee->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded() local
5774 DeclRefExpr *DRE = in SemaBuiltinNontemporalOverloaded() local
6586 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg() local
12665 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in CheckImplicitConversion() local
12921 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckForReference() local
13417 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getObject() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp46 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
H A DTransProtectedScope.cpp183 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
H A DTransRetainReleaseDealloc.cpp305 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
H A DTransUnbridgedCasts.cpp452 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
H A DTransforms.cpp199 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isGlobalVar() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp272 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr()
441 if (const auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() local
500 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHS)) { in translateBinAssign() local
566 if (const auto *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in translateCastExpr() local
H A DUninitializedValues.cpp252 if (const auto *DRE = in findVar() local
317 const auto *DRE = in getSelfInitExpr() local
367 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local
375 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
H A DThreadSafety.cpp639 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHSExp)) { in VisitBinaryOperator() local
1456 else if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in getTrylockCallExpr() local
1720 while (const auto *DRE = dyn_cast<DeclRefExpr>(Exp)) { in checkAccess() local
1961 DeclRefExpr DRE(VD->getASTContext(), VD, false, VD->getType(), VK_LValue, in handleCall() local
2494 DeclRefExpr DRE(VD->getASTContext(), VD, false, in runAnalysis() local
H A DReachableCode.cpp62 if (const auto *DRE = dyn_cast<DeclRefExpr>(S)) in isBuiltinUnreachable() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp121 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
152 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
H A DDereferenceChecker.cpp118 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isDeclRefExprToReference() local
H A DDeadStoresChecker.cpp421 if (const DeclRefExpr *DRE = in observeStmt() local
H A DMacOSKeychainAPIChecker.cpp161 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in REGISTER_MAP_WITH_PROGRAMSTATE() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2103 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
3280 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
3376 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
3521 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local
3599 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local
[all …]
H A DRewriteObjC.cpp2020 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local
2517 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local
2710 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
2806 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local
2951 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local
3055 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local
3667 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local
3689 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local
3735 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local
3881 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp88 DeclRefExpr DRE( in OMPLexicalScope() local
262 DeclRefExpr DRE(CGF.getContext(), const_cast<VarDecl *>(VD), in OMPSimdLexicalScope() local
293 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), IsCaptured, in EmitOMPSharedLValue() local
839 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause() local
992 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(VD), true, in EmitOMPCopyinClause() local
1069 DeclRefExpr DRE(getContext(), const_cast<VarDecl *>(OrigVD), in EmitOMPLastprivateClauseInit() local
1500 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1511 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1522 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
1537 const auto *DRE = dyn_cast<DeclRefExpr>(Ref->IgnoreParenImpCasts()); in checkForLastprivateConditionalUpdate() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DNSAPI.cpp594 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
H A DExpr.cpp1433 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) in getReferencedDeclOfCallee() local
2695 if (auto *DRE = dyn_cast<DeclRefExpr>(SubE)) in isUnusedResultAWarning() local
3827 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local
3907 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in refersToVectorElement() local
3918 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local
4019 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in isSameComparisonOperand() local
4704 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp216 if (const auto *DRE = dyn_cast<DeclRefExpr>(CondVarExpr)) in getSValForVar() local
478 if (const auto *DRE = dyn_cast<DeclRefExpr>(Base)) in potentiallyWritesIntoIvar() local
2679 const Expr *Cond, const DeclRefExpr *DRE, BugReporterContext &BRC, in VisitTrueTest()

123