Home
last modified time | relevance | path

Searched refs:ArgNum (Results 1 – 7 of 7) 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.cpp104 unsigned ArgNum; in VisitCallExpr() local
109 ArgNum = 1; in VisitCallExpr()
110 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
117 ArgNum = 1; in VisitCallExpr()
118 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
121 ArgNum = 2; in VisitCallExpr()
122 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
130 assert(ArgNum == 1 || ArgNum == 2); in VisitCallExpr()
140 Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '" in VisitCallExpr()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp142 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable() local
158 if (CurNum > ArgNum) in addScopeVariable()
160 if (CurNum == ArgNum) { in addScopeVariable()
/external/llvm/lib/Analysis/
DCFLAliasAnalysis.cpp737 static StratifiedAttr argNumberToAttrIndex(unsigned ArgNum) { in argNumberToAttrIndex() argument
738 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttrIndex()
740 return ArgNum + AttrFirstArgIndex; in argNumberToAttrIndex()
/external/clang/lib/Sema/
DSemaChecking.cpp2836 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArg() argument
2838 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArg()
2853 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArgRange() argument
2858 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArgRange()
2863 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result)) in SemaBuiltinConstantArgRange()
2876 int ArgNum, unsigned ExpectedFieldNum, in SemaBuiltinARMSpecialReg() argument
2893 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinARMSpecialReg()
DSemaDeclAttr.cpp311 unsigned ArgNum, StringRef &Str, in checkStringLiteralArgumentAttr() argument
314 if (Attr.isArgIdent(ArgNum)) { in checkStringLiteralArgumentAttr()
315 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
327 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
/external/clang/include/clang/Sema/
DSema.h2944 unsigned ArgNum, StringRef &Str,
9019 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
9021 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,
9024 int ArgNum, unsigned ExpectedFieldNum,