Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DBuiltins.cpp80 Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx, in isPrintfLike() argument
93 FormatIdx = strtol(Printf, 0, 10); in isPrintfLike()
99 Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx, in isScanfLike() argument
112 FormatIdx = strtol(Scanf, 0, 10); in isScanfLike()
/external/clang/include/clang/Basic/
DBuiltins.h137 bool isPrintfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
142 bool isScanfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
DAttr.td264 let Args = [StringArgument<"Type">, IntArgument<"FormatIdx">,
270 let Args = [IntArgument<"FormatIdx">];
/external/clang/lib/Sema/
DSemaDecl.cpp6629 unsigned FormatIdx; in AddKnownFunctionAttributes() local
6631 if (Context.BuiltinInfo.isPrintfLike(BuiltinID, FormatIdx, HasVAListArg)) { in AddKnownFunctionAttributes()
6634 "printf", FormatIdx+1, in AddKnownFunctionAttributes()
6635 HasVAListArg ? 0 : FormatIdx+2)); in AddKnownFunctionAttributes()
6637 if (Context.BuiltinInfo.isScanfLike(BuiltinID, FormatIdx, in AddKnownFunctionAttributes()
6641 "scanf", FormatIdx+1, in AddKnownFunctionAttributes()
6642 HasVAListArg ? 0 : FormatIdx+2)); in AddKnownFunctionAttributes()
DSemaChecking.cpp1177 unsigned FormatIdx; member in __anon12adead60111::CheckFormatHandler
1192 TheCall(theCall), FormatIdx(formatIdx), in CheckFormatHandler()