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.cpp824 static StratifiedAttr argNumberToAttrIndex(unsigned ArgNum) { in argNumberToAttrIndex() argument
825 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttrIndex()
827 return ArgNum + AttrFirstArgIndex; in argNumberToAttrIndex()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp309 unsigned ArgNum, StringRef &Str, in checkStringLiteralArgumentAttr() argument
312 if (Attr.isArgIdent(ArgNum)) { in checkStringLiteralArgumentAttr()
313 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
325 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
DSemaChecking.cpp2507 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArg() argument
2509 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArg()
2524 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArgRange() argument
2529 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArgRange()
2534 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result)) in SemaBuiltinConstantArgRange()
/external/clang/include/clang/Sema/
DSema.h2739 unsigned ArgNum, StringRef &Str,
8496 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
8498 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,