Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCStringSyntaxChecker.cpp106 const Expr *DstArg = CE->getArg(0); in containsBadStrncatPattern() local
117 if (isSizeof(L, DstArg) && isStrlen(R, DstArg)) in containsBadStrncatPattern()
121 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
126 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern()
142 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
147 StringRef DstName = getPrintableName(DstArg); in VisitCallExpr()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaChecking.cpp5307 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
5308 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
5314 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
5348 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
5361 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
5371 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
5372 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
5396 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
5415 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
5418 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()