Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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
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()
245 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3199 Value *DstArg = CI->getArgOperand(0); in emitSnPrintfMemCpy() local
3205 DstArg, Align(1), StrArg, Align(1), in emitSnPrintfMemCpy()
3216 Value *DstEnd = B.CreateInBoundsGEP(Int8Ty, DstArg, NulOff, "endptr"); in emitSnPrintfMemCpy()
3235 Value *DstArg = CI->getArgOperand(0); in optimizeSnPrintFString() local
3272 Value *Ptr = DstArg; in optimizeSnPrintFString()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13674 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
13675 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
13681 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
13715 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
13728 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
13738 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
13739 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
13763 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
13782 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
13785 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp3398 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local
3406 Args.push_back(&DstArg); in emitTaskDupFunction()
3422 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()