Searched refs:ArgNum (Results 1 - 7 of 7) 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/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp142 if (unsigned ArgNum = DV->getArg()) {
158 if (CurNum > ArgNum)
160 if (CurNum == ArgNum) {
/external/llvm/lib/Analysis/
H A DCFLAliasAnalysis.cpp824 static StratifiedAttr argNumberToAttrIndex(unsigned ArgNum) { argument
825 if (ArgNum >= AttrMaxNumArgs)
827 return ArgNum + AttrFirstArgIndex;
/external/clang/lib/Sema/
H A DSemaChecking.cpp2505 /// SemaBuiltinConstantArg - Handle a check if argument ArgNum of CallExpr
2507 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, argument
2509 Expr *Arg = TheCall->getArg(ArgNum);
2522 /// SemaBuiltinConstantArgRange - Handle a check if argument ArgNum of CallExpr
2524 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, argument
2529 Expr *Arg = TheCall->getArg(ArgNum);
2534 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result))
H A DSemaDeclAttr.cpp304 /// \brief Check if the argument \p ArgNum of \p Attr is a ASCII string literal.
309 unsigned ArgNum, StringRef &Str,
312 if (Attr.isArgIdent(ArgNum)) {
313 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum);
325 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum);
308 checkStringLiteralArgumentAttr(const AttributeList &Attr, unsigned ArgNum, StringRef &Str, SourceLocation *ArgLocation) argument
/external/clang/include/clang/Sema/
H A DSema.h2739 unsigned ArgNum, StringRef &Str,
8496 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
8498 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,

Completed in 218 milliseconds