Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/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()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaChecking.cpp3870 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local
3871 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments()
3877 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrlcpycatArguments()
3911 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local
3920 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments()
3930 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments()
3931 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments()
3955 QualType DstTy = DstArg->getType(); in CheckStrncatArguments()
3974 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrncatArguments()
3977 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrncatArguments()