Home
last modified time | relevance | path

Searched refs:DerefKind (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/lib/AST/Interp/
DByteCodeExprGen.cpp96 CE->getSubExpr(), DerefKind::Read, in VisitCastExpr()
258 const Expr *LV, DerefKind AK, llvm::function_ref<bool(PrimType)> Direct, in dereference()
283 const Expr *LV, PrimType T, const ParmVarDecl *PD, DerefKind AK, in dereferenceParam()
290 case DerefKind::Read: in dereferenceParam()
293 case DerefKind::Write: in dereferenceParam()
300 case DerefKind::ReadWrite: in dereferenceParam()
313 if (!DiscardResult && T == PT_Ptr && AK == DerefKind::Read) { in dereferenceParam()
325 const Expr *LV, PrimType T, const VarDecl *VD, DerefKind AK, in dereferenceVar()
332 case DerefKind::Read: in dereferenceVar()
337 case DerefKind::Write: in dereferenceVar()
[all …]
DByteCodeExprGen.h170 enum class DerefKind { enum
182 bool dereference(const Expr *LV, DerefKind AK,
186 DerefKind AK,
190 DerefKind AK, llvm::function_ref<bool(PrimType)> Direct,
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp33 enum DerefKind { NullPointer, UndefinedPointerValue }; enum in __anon3b2ac6cb0111::DereferenceChecker
39 void reportBug(DerefKind K, ProgramStateRef State, const Stmt *S,
123 void DereferenceChecker::reportBug(DerefKind K, ProgramStateRef State, in reportBug()
129 case DerefKind::NullPointer: in reportBug()
134 case DerefKind::UndefinedPointerValue: in reportBug()
213 reportBug(DerefKind::UndefinedPointerValue, C.getState(), DerefExpr, C); in checkLocation()
234 reportBug(DerefKind::NullPointer, nullState, expr, C); in checkLocation()
276 reportBug(DerefKind::NullPointer, StNull, expr, C); in checkBind()