Searched refs:ArgNum (Results 1 – 6 of 6) 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/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 265 unsigned ArgNum, StringRef &Str, in checkStringLiteralArgumentAttr() argument 268 if (Attr.isArgIdent(ArgNum)) { in checkStringLiteralArgumentAttr() 269 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr() 281 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
|
D | SemaChecking.cpp | 1947 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArg() argument 1949 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArg() 1964 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArgRange() argument 1969 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArgRange() 1974 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result)) in SemaBuiltinConstantArgRange()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfDebug.cpp | 1506 if (unsigned ArgNum = DV.getArgNumber()) { in addScopeVariable() local 1522 if (CurNum > ArgNum) in addScopeVariable()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2698 unsigned ArgNum, StringRef &Str, 8246 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, 8248 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,
|