Home
last modified time | relevance | path

Searched refs:FormatIdx (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Basic/
DBuiltins.cpp98 Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx, in isPrintfLike() argument
111 FormatIdx = strtol(Printf, 0, 10); in isPrintfLike()
117 Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx, in isScanfLike() argument
130 FormatIdx = strtol(Scanf, 0, 10); in isScanfLike()
/external/clang/include/clang/Basic/
DBuiltins.h157 bool isPrintfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
162 bool isScanfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
DAttr.td389 let Args = [StringArgument<"Type">, IntArgument<"FormatIdx">,
395 let Args = [IntArgument<"FormatIdx">];
/external/clang/lib/Sema/
DSemaChecking.cpp687 FSI->FormatIdx = Format->getFormatIdx() - 1; in getFormatStringInfo()
694 if(FSI->FormatIdx == 0) in getFormatStringInfo()
696 --FSI->FormatIdx; in getFormatStringInfo()
2164 return CheckFormatArguments(Args, FSI.HasVAListArg, FSI.FormatIdx, in CheckFormatArguments()
2241 unsigned FormatIdx; member in __anon00dd1a5d0311::CheckFormatHandler
2259 Args(Args), FormatIdx(formatIdx), in CheckFormatHandler()
2580 EmitFormatDiagnostic(S, inFunctionCall, Args[FormatIdx], PDiag, in EmitFormatDiagnostic()
DSemaDecl.cpp9718 unsigned FormatIdx; in AddKnownFunctionAttributes() local
9720 if (Context.BuiltinInfo.isPrintfLike(BuiltinID, FormatIdx, HasVAListArg)) { in AddKnownFunctionAttributes()
9724 if (FormatIdx < NumParams && // NumParams may be 0 (e.g. vfprintf) in AddKnownFunctionAttributes()
9725 FD->getParamDecl(FormatIdx)->getType()->isObjCObjectPointerType()) in AddKnownFunctionAttributes()
9728 fmt, FormatIdx+1, in AddKnownFunctionAttributes()
9729 HasVAListArg ? 0 : FormatIdx+2)); in AddKnownFunctionAttributes()
9732 if (Context.BuiltinInfo.isScanfLike(BuiltinID, FormatIdx, in AddKnownFunctionAttributes()
9736 "scanf", FormatIdx+1, in AddKnownFunctionAttributes()
9737 HasVAListArg ? 0 : FormatIdx+2)); in AddKnownFunctionAttributes()
DSemaDeclAttr.cpp3071 int FormatIdx, int FirstArg, in mergeFormatAttr() argument
3080 f->getFormatIdx() == FormatIdx && in mergeFormatAttr()
3090 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, FirstArg, in mergeFormatAttr()
/external/clang/include/clang/Sema/
DSema.h1840 int FormatIdx, int FirstArg,
7605 unsigned FormatIdx; member