Home
last modified time | relevance | path

Searched refs:VarRef (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLocalVarsChecker.cpp61 if (auto *VarRef = dyn_cast<DeclRefExpr>(BO->getLHS())) { in VisitBinaryOperator() local
62 if (VarRef->getDecl() == Guardian) in VisitBinaryOperator()
73 if (auto *VarRef = dyn_cast<DeclRefExpr>(Arg)) { in VisitCXXConstructExpr() local
74 if (VarRef->getDecl() == Guardian) in VisitCXXConstructExpr()
87 if (auto *VarRef = dyn_cast<DeclRefExpr>(ThisArg)) { in VisitCXXMemberCallExpr() local
88 if (VarRef->getDecl() == Guardian) in VisitCXXMemberCallExpr()
99 if (auto *VarRef = dyn_cast<DeclRefExpr>(ThisArg)) { in VisitCXXOperatorCallExpr() local
100 if (VarRef->getDecl() == Guardian) in VisitCXXOperatorCallExpr()
227 if (auto *VarRef = dyn_cast<DeclRefExpr>(BO->getLHS())) { in checkASTDecl() local
228 if (auto *V = dyn_cast<VarDecl>(VarRef->getDecl())) in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6854 const Expr *VarRef = nullptr; member
6864 const ValueDecl *Mapper = nullptr, const Expr *VarRef = nullptr, in MapInfo()
6869 Mapper(Mapper), VarRef(VarRef), ForDeviceAddr(ForDeviceAddr) {} in MapInfo()
8075 const Expr *VarRef = nullptr, bool ForDeviceAddr = false) { in generateAllInfoForClauses() argument
8081 IsImplicit, Mapper, VarRef, ForDeviceAddr); in generateAllInfoForClauses()
8310 return isa_and_present<DeclRefExpr>(L.VarRef); in generateAllInfoForClauses()
8314 L.VarRef); in generateAllInfoForClauses()
8336 L.VarRef, /*OverlappedElements*/ {}, in generateAllInfoForClauses()
8892 const Expr *VarRef; in generateInfoForCaptureFromComponentLists() local
8893 std::tie(Components, MapType, MapModifiers, IsImplicit, Mapper, VarRef) = in generateInfoForCaptureFromComponentLists()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2374 Expr *VarRef = in checkEscapingByref() local
2379 auto *E = ImplicitCastExpr::Create(S.Context, T, CK_NoOp, VarRef, nullptr, in checkEscapingByref()
2385 VarRef); in checkEscapingByref()
H A DSemaOpenMP.cpp4634 for (Stmt *VarRef : Clause->children()) { in ActOnOpenMPRegionEnd()
4635 if (auto *E = cast_or_null<Expr>(VarRef)) { in ActOnOpenMPRegionEnd()
9414 buildCounterInit(Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in buildCounterInit() argument
9424 VarRef.get()->getType())) { in buildCounterInit()
9426 NewStart.get(), VarRef.get()->getType(), AssignmentAction::Converting, in buildCounterInit()
9433 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in buildCounterInit()
9439 Sema &SemaRef, Scope *S, SourceLocation Loc, ExprResult VarRef, in buildCounterUpdate() argument
9445 if (!VarRef.isUsable() || !Start.isUsable() || !Iter.isUsable() || in buildCounterUpdate()
9474 if (VarRef.get()->getType()->isOverloadableType() || in buildCounterUpdate()
9480 SemaRef.BuildBinOp(S, Loc, BO_Assign, VarRef.get(), NewStart.get()); in buildCounterUpdate()
[all …]
H A DSemaExpr.cpp14427 auto* VarRef = dyn_cast<DeclRefExpr>(op); in CheckAddressOfOperand() local
14428 if (VarRef && VarRef->refersToEnclosingVariableOrCapture()) { in CheckAddressOfOperand()