Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp126 const Expr *DstArg = CE->getArg(0); in containsBadStrncatPattern() local
136 if (isSizeof(L, DstArg) && isStrlen(R, DstArg)) in containsBadStrncatPattern()
140 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
145 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern()
159 const Expr *DstArg = CE->getArg(0); in containsBadStrlcpyStrlcatPattern() local
162 const auto *DstArgDecl = dyn_cast<DeclRefExpr>(DstArg->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern()
165 if (isSizeof(LenArg, DstArg)) in containsBadStrlcpyStrlcatPattern()
219 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
224 StringRef DstName = getPrintableName(DstArg); in VisitCallExpr()
244 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp9318 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
9319 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
9325 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
9359 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
9372 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
9382 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
9383 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
9407 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
9426 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
9429 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp4763 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local
4771 Args.push_back(&DstArg); in emitTaskDupFunction()
4787 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()