Searched refs:ArgNum (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | GenericTaintChecker.cpp | 153 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 …]
|
D | ObjCContainersASTChecker.cpp | 104 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/ |
D | DwarfFile.cpp | 142 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable() local 158 if (CurNum > ArgNum) in addScopeVariable() 160 if (CurNum == ArgNum) { in addScopeVariable()
|
/external/llvm/lib/Analysis/ |
D | CFLAliasAnalysis.cpp | 737 static StratifiedAttr argNumberToAttrIndex(unsigned ArgNum) { in argNumberToAttrIndex() argument 738 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttrIndex() 740 return ArgNum + AttrFirstArgIndex; in argNumberToAttrIndex()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2836 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()
|
D | SemaDeclAttr.cpp | 311 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/ |
D | Sema.h | 2944 unsigned ArgNum, StringRef &Str, 9019 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, 9021 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, 9024 int ArgNum, unsigned ExpectedFieldNum,
|