Home
last modified time | relevance | path

Searched refs:DstArg (Results 1 – 2 of 2) 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.cpp5487 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
5488 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
5494 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrlcpycatArguments()
5528 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
5541 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
5551 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
5552 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
5576 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
5595 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()
5598 DstArg->printPretty(OS, nullptr, getPrintingPolicy()); in CheckStrncatArguments()