Searched refs:DstArg (Results 1 – 4 of 4) sorted by relevance
| /freebsd-src/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-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 3433 Value *DstArg = CI->getArgOperand(0); in optimizeFPuts() 3439 DstArg, Align(1), StrArg, Align(1), in optimizeFPuts() 3450 Value *DstEnd = B.CreateInBoundsGEP(Int8Ty, DstArg, NulOff, "endptr"); in optimizePuts() 3469 Value *DstArg = CI->getArgOperand(0); in optimizeBCopy() 3506 Value *Ptr = DstArg; in optimizeStringMemoryLibCall() 3199 Value *DstArg = CI->getArgOperand(0); emitSnPrintfMemCpy() local 3235 Value *DstArg = CI->getArgOperand(0); optimizeSnPrintFString() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 8905 // pointers if we know the actual size, like if DstArg is 'array+2' in CheckObjCString() 8907 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckObjCString() 8908 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckObjCString() 8914 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); 8945 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in checkVAStartABI() 8958 if (referToTheSameDecl(SizeOfArg, DstArg)) in checkVAStartABI() 8968 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in checkVAStartABI() 8969 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in checkVAStartABI() 8993 QualType DstTy = DstArg->getType(); in checkVAStartIsInVariadicFunction() 9012 DstArg in checkVAStartIsInVariadicFunction() 13674 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); CheckStrlcpycatArguments() local 13715 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); CheckStrncatArguments() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 3412 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, in emitTaskDupFunction() 3420 Args.push_back(&DstArg); in emitTaskDupFunction() 3436 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction() 3398 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, emitTaskDupFunction() local
|