Searched refs:FormatIdx (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Basic/ |
D | Builtins.cpp | 98 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/ |
D | Builtins.h | 157 bool isPrintfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg); 162 bool isScanfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
|
D | Attr.td | 389 let Args = [StringArgument<"Type">, IntArgument<"FormatIdx">, 395 let Args = [IntArgument<"FormatIdx">];
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 687 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()
|
D | SemaDecl.cpp | 9718 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()
|
D | SemaDeclAttr.cpp | 3071 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/ |
D | Sema.h | 1840 int FormatIdx, int FirstArg, 7605 unsigned FormatIdx; member
|