Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DSmartPointerAccessorCaching.h92 const CallExpr *DerefExpr, RecordStorageLocation *SmartPointerLoc,
110 const CallExpr *DerefExpr, RecordStorageLocation *SmartPointerLoc, in transferSmartPointerLikeCachedDeref() argument
113 if (State.Env.getStorageLocation(*DerefExpr) != nullptr) in transferSmartPointerLikeCachedDeref()
118 const FunctionDecl *Callee = DerefExpr->getDirectCallee(); in transferSmartPointerLikeCachedDeref()
122 getCanonicalSmartPointerLikeOperatorCallee(DerefExpr); in transferSmartPointerLikeCachedDeref()
141 State.Env.setStorageLocation(*DerefExpr, LocForValue); in transferSmartPointerLikeCachedDeref()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp276 const Expr *DerefExpr = getDereferenceExpr(S); in checkLocation() local
277 if (!suppressReport(C, DerefExpr)) in checkLocation()
278 reportBug(DerefKind::UndefinedPointerValue, C.getState(), DerefExpr, C); in checkLocation()
315 const Expr *DerefExpr = getDereferenceExpr(S, isLoad); in checkLocation() local
316 if (!suppressReport(C, DerefExpr)) in checkLocation()
317 reportBug(DerefKind::FixedAddress, notNullState, DerefExpr, C); in checkLocation()
370 const Expr *DerefExpr = getDereferenceExpr(S, true); in checkBind() local
371 if (!suppressReport(C, DerefExpr)) in checkBind()
372 reportBug(DerefKind::FixedAddress, State, DerefExpr, C); in checkBind()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3002 ExprResult DerefExpr = ActOnUnaryOp(S, ColonLoc, tok::star, BeginRef.get()); in BuildCXXForRangeStmt() local
3003 if (DerefExpr.isInvalid()) { in BuildCXXForRangeStmt()
3013 AddInitializerToDecl(LoopVar, DerefExpr.get(), /*DirectInit=*/false); in BuildCXXForRangeStmt()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3043 Expr *DerefExpr = UnaryOperator::Create( in RewriteObjCProtocolExpr() local
3047 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, DerefExpr->getType(), in RewriteObjCProtocolExpr()
3049 DerefExpr); in RewriteObjCProtocolExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp2023 auto *DerefExpr = in LowerDbgDeclare() local
2026 DerefExpr, NewLoc, in LowerDbgDeclare()