Searched refs:LenArg (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringSyntaxChecker.cpp | 108 const Expr *LenArg = CE->getArg(2); in containsBadStrncatPattern() local 112 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) { in containsBadStrncatPattern() 126 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern() 130 if (isSizeof(LenArg, SrcArg)) in containsBadStrncatPattern() 143 const Expr *LenArg = CE->getArg(2); in VisitCallExpr() local 145 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr() 162 LenArg->getSourceRange()); in VisitCallExpr()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5247 unsigned LenArg = (BId == Builtin::BIstrndup ? 1 : 2); in CheckMemaccessArguments() local 5248 const Expr *LenExpr = Call->getArg(LenArg)->IgnoreParenImpCasts(); in CheckMemaccessArguments() 5530 const Expr *LenArg = CE->getArg(2)->IgnoreParenCasts(); in CheckStrncatArguments() local 5532 if (CheckMemorySizeofForComparison(*this, LenArg, FnName, CE->getLocStart(), in CheckStrncatArguments() 5539 if (const Expr *SizeOfArg = getSizeOfExprArg(LenArg)) { in CheckStrncatArguments() 5546 } else if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(LenArg)) { in CheckStrncatArguments() 5564 SourceLocation SL = LenArg->getLocStart(); in CheckStrncatArguments() 5565 SourceRange SR = LenArg->getSourceRange(); in CheckStrncatArguments()
|
D | SemaExpr.cpp | 1625 IntegerLiteral *LenArg = IntegerLiteral::Create(Context, Len, SizeType, in ActOnStringLiteral() local 1627 Expr *Args[] = { Lit, LenArg }; in ActOnStringLiteral()
|