Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp125 const Expr *DstArg = CE->getArg(0); in containsBadStrncatPattern() local
135 if (isSizeof(L, DstArg) && isStrlen(R, DstArg)) in containsBadStrncatPattern()
139 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
144 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern()
156 const Expr *DstArg = CE->getArg(0); in containsBadStrlcpyStrlcatPattern() local
159 const auto *DstArgDRE = dyn_cast<DeclRefExpr>(DstArg->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern()
163 if (isSizeof(LenArg, DstArg)) in containsBadStrlcpyStrlcatPattern()
189 dyn_cast<BinaryOperator>(DstArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern()
220 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
225 StringRef DstName = getPrintableName(DstArg); in VisitCallExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp10334 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
10335 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
10341 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
10375 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
10388 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
10398 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
10399 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
10423 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
10442 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
10445 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp3981 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local
3989 Args.push_back(&DstArg); in emitTaskDupFunction()
4005 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()