Searched refs:DstArg (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringSyntaxChecker.cpp | 104 const Expr *DstArg = CE->getArg(0); in containsBadStrncatPattern() local 115 if (isSizeof(L, DstArg) && isStrlen(R, DstArg)) in containsBadStrncatPattern() 119 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern() 124 if (isSizeof(LenArg, DstArg)) in containsBadStrncatPattern() 140 const Expr *DstArg = CE->getArg(0); in VisitCallExpr() local 146 StringRef DstName = getPrintableName(DstArg); in VisitCallExpr()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 3437 const Expr *DstArg = Call->getArg(0)->IgnoreParenImpCasts(); in CheckStrlcpycatArguments() local 3438 if (!isConstantSizeArrayWithMoreThanOneElement(DstArg->getType(), Context)) in CheckStrlcpycatArguments() 3444 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrlcpycatArguments() 3478 const Expr *DstArg = CE->getArg(0)->IgnoreParenCasts(); in CheckStrncatArguments() local 3487 if (referToTheSameDecl(SizeOfArg, DstArg)) in CheckStrncatArguments() 3497 if (referToTheSameDecl(DstArg, getSizeOfExprArg(L)) && in CheckStrncatArguments() 3498 referToTheSameDecl(DstArg, getStrlenExprArg(R))) in CheckStrncatArguments() 3522 QualType DstTy = DstArg->getType(); in CheckStrncatArguments() 3541 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrncatArguments() 3544 DstArg->printPretty(OS, 0, getPrintingPolicy()); in CheckStrncatArguments()
|