Searched refs:DstArg (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CStringSyntaxChecker.cpp | 125 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 …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 3543 Value *DstArg = CI->getArgOperand(0); in emitSnPrintfMemCpy() local 3546 copyFlags(*CI, B.CreateMemCpy(DstArg, Align(1), StrArg, Align(1), in emitSnPrintfMemCpy() 3557 Value *DstEnd = B.CreateInBoundsGEP(Int8Ty, DstArg, NulOff, "endptr"); in emitSnPrintfMemCpy() 3576 Value *DstArg = CI->getArgOperand(0); in optimizeSnPrintFString() local 3613 Value *Ptr = DstArg; in optimizeSnPrintFString()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 10076 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local 10077 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments() 10083 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments() 10114 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local 10127 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments() 10137 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments() 10138 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments() 10162 QualType DstTy = DstArg->getType(); in CheckStrncatArguments() 10181 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments() 10184 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 3388 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() local 3396 Args.push_back(&DstArg); in emitTaskDupFunction() 3412 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()
|