Searched refs:ArgNum (Results 1 - 6 of 6) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp104 unsigned ArgNum; local
109 ArgNum = 1;
110 Arg = CE->getArg(ArgNum)->IgnoreParenCasts();
117 ArgNum = 1;
118 Arg = CE->getArg(ArgNum)->IgnoreParenCasts();
121 ArgNum = 2;
122 Arg = CE->getArg(ArgNum)->IgnoreParenCasts();
130 assert(ArgNum == 1 || ArgNum == 2);
140 Os << " The "<< ((ArgNum
[all...]
H A DGenericTaintChecker.cpp153 inline bool isDestinationArgument(unsigned ArgNum) const {
155 DstArgs.end(), ArgNum) != DstArgs.end());
340 unsigned ArgNum = *I; local
343 if (ArgNum == ReturnValueIndex) {
350 if (CE->getNumArgs() < (ArgNum + 1))
352 const Expr* Arg = CE->getArg(ArgNum);
453 unsigned ArgNum = *I; local
455 if (ArgNum == InvalidArgIndex) {
467 if (CE->getNumArgs() < (ArgNum + 1))
469 if ((IsTainted = isTaintedOrPointsToTainted(CE->getArg(ArgNum), Stat
478 unsigned ArgNum = *I; local
606 getPrintfFormatArgumentNum(const CallExpr *CE, const CheckerContext &C, unsigned int &ArgNum) argument
656 unsigned int ArgNum = 0; local
673 unsigned ArgNum = llvm::StringSwitch<unsigned>(Name) local
702 unsigned ArgNum = InvalidArgIndex; local
[all...]
/external/clang/lib/Sema/
H A DSemaChecking.cpp1945 /// SemaBuiltinConstantArg - Handle a check if argument ArgNum of CallExpr
1947 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, argument
1949 Expr *Arg = TheCall->getArg(ArgNum);
1962 /// SemaBuiltinConstantArgRange - Handle a check if argument ArgNum of CallExpr
1964 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, argument
1969 Expr *Arg = TheCall->getArg(ArgNum);
1974 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result))
H A DSemaDeclAttr.cpp260 /// \brief Check if the argument \p ArgNum of \p Attr is a ASCII string literal.
265 unsigned ArgNum, StringRef &Str,
268 if (Attr.isArgIdent(ArgNum)) {
269 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum);
281 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum);
264 checkStringLiteralArgumentAttr(const AttributeList &Attr, unsigned ArgNum, StringRef &Str, SourceLocation *ArgLocation) argument
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1506 if (unsigned ArgNum = DV.getArgNumber()) {
1522 if (CurNum > ArgNum)
/external/clang/include/clang/Sema/
H A DSema.h2698 unsigned ArgNum, StringRef &Str,
8246 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
8248 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,

Completed in 1038 milliseconds