Home
last modified time | relevance | path

Searched refs:ArgNum (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp153 inline bool isDestinationArgument(unsigned ArgNum) const { in isDestinationArgument()
155 DstArgs.end(), ArgNum) != DstArgs.end()); in isDestinationArgument()
340 unsigned ArgNum = *I; in propagateFromPre() local
343 if (ArgNum == ReturnValueIndex) { in propagateFromPre()
350 if (CE->getNumArgs() < (ArgNum + 1)) in propagateFromPre()
352 const Expr* Arg = CE->getArg(ArgNum); in propagateFromPre()
453 unsigned ArgNum = *I; in process() local
455 if (ArgNum == InvalidArgIndex) { in process()
467 if (CE->getNumArgs() < (ArgNum + 1)) in process()
469 if ((IsTainted = isTaintedOrPointsToTainted(CE->getArg(ArgNum), State, C))) in process()
[all …]
DObjCContainersASTChecker.cpp103 unsigned ArgNum; in VisitCallExpr() local
108 ArgNum = 1; in VisitCallExpr()
109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
116 ArgNum = 1; in VisitCallExpr()
117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
120 ArgNum = 2; in VisitCallExpr()
121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
129 assert(ArgNum == 1 || ArgNum == 2); in VisitCallExpr()
139 Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '" in VisitCallExpr()
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp45 static AliasAttr argNumberToAttr(unsigned ArgNum) { in argNumberToAttr() argument
46 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttr()
50 return AliasAttr(1ULL << (ArgNum + AttrFirstArgIndex)); in argNumberToAttr()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp149 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable() local
165 if (CurNum > ArgNum) in addScopeVariable()
167 if (CurNum == ArgNum) { in addScopeVariable()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp234 unsigned ArgNum = CS.arg_size(); in isPromotionLegal() local
236 if (ParamNum != ArgNum && !DirectCalleeType->isVarArg()) in isPromotionLegal()
/external/clang/lib/Sema/
DSemaChecking.cpp3567 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArg() argument
3569 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArg()
3584 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArgRange() argument
3589 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArgRange()
3594 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result)) in SemaBuiltinConstantArgRange()
3607 int ArgNum, unsigned ExpectedFieldNum, in SemaBuiltinARMSpecialReg() argument
3624 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinARMSpecialReg()
DSemaDeclAttr.cpp315 unsigned ArgNum, StringRef &Str, in checkStringLiteralArgumentAttr() argument
318 if (Attr.isArgIdent(ArgNum)) { in checkStringLiteralArgumentAttr()
319 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
331 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
/external/clang/include/clang/Sema/
DSema.h3018 unsigned ArgNum, StringRef &Str,
9401 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
9403 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,
9406 int ArgNum, unsigned ExpectedFieldNum,