Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp11614 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
11615 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
11621 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
11655 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
11668 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
11678 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
11679 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
11703 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
11722 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
11725 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp3915 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local
3923 Args.push_back(&DstArg); in emitTaskDupFunction()
3939 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()