Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10606 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
10607 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
10613 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
10647 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
10660 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
10670 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
10671 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
10695 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
10714 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
10717 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp3986 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local
3994 Args.push_back(&DstArg); in emitTaskDupFunction()
4010 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()