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.cpp52 const Expr *SizeE) const;
54 void reportBug(VLASize_Kind Kind, const Expr *SizeE, ProgramStateRef State,
57 void reportTaintBug(const Expr *SizeE, ProgramStateRef State,
84 const Expr *SizeE = VLA->getSizeExpr(); in checkVLA() local
85 State = checkVLAIndexSize(C, State, SizeE); in checkVLA()
88 VLASizes.push_back(SizeE); in checkVLA()
111 for (const Expr *SizeE : VLASizes) { in checkVLA() local
112 auto SizeD = C.getSVal(SizeE).castAs<DefinedSVal>(); in checkVLA()
115 SVB.evalCast(SizeD, SizeTy, SizeE->getType()).castAs<NonLoc>(); in checkVLA()
139 reportBug(VLA_Overflow, SizeE, State, C); in checkVLA()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp17230 ExprResult SizeE = BuildExpr(*SizeMember); in EvaluateStaticAssertMessageAsString() local
17238 SizeE.isInvalid() ? ExprError() in EvaluateStaticAssertMessageAsString()
17240 SizeE.get(), SizeT, CCEK_StaticAssertMessageSize); in EvaluateStaticAssertMessageAsString()