Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DCStringSyntaxChecker.cpp106 const Expr *DstArg = CE->getArg(0); in containsBadStrncatPattern() local
117 if (isSizeof(L, DstArg) && isStrlen(R, DstArg)) in containsBadStrncatPattern()
121 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
126 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern()
142 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local
147 StringRef DstName = getPrintableName(DstArg); in VisitCallExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp6374 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
6375 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
6381 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
6415 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
6428 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
6438 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
6439 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
6463 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
6482 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
6485 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp3610 ImplicitParamDecl DstArg(C, /*DC=*/nullptr, Loc, in emitTaskDupFunction() local
3616 Args.push_back(&DstArg); in emitTaskDupFunction()
3631 CGF.GetAddrOfLocalVar(&DstArg), in emitTaskDupFunction()