Home
last modified time | relevance | path

Searched refs:SizeE (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp50 const Expr *SizeE) const;
52 void reportBug(VLASize_Kind Kind, const Expr *SizeE, ProgramStateRef State,
55 void reportTaintBug(const Expr *SizeE, ProgramStateRef State,
82 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA() local
83 State = checkVLAIndexSize(C, State, SizeE); in checkVLA()
86 VLASizes.push_back(SizeE); in checkVLA()
109 for (const Expr *SizeE : VLASizes) { in checkVLA() local
110 auto SizeD = C.getSVal(SizeE).castAs<DefinedSVal>(); in checkVLA()
113 SVB.evalCast(SizeD, SizeTy, SizeE->getType()).castAs<NonLoc>(); in checkVLA()
137 reportBug(VLA_Overflow, SizeE, State, C); in checkVLA()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp17715 ExprResult SizeE = BuildExpr(*SizeMember); in EvaluateAsStringImpl() local
17723 SizeE.isInvalid() in EvaluateAsStringImpl()
17726 SizeE.get(), SizeT, CCEKind::StaticAssertMessageSize); in EvaluateAsStringImpl()