Searched refs:FormatIdx (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Basic/ |
D | Builtins.cpp | 104 bool Builtin::Context::isLike(unsigned ID, unsigned &FormatIdx, in isLike() argument 123 FormatIdx = ::strtol(Like, nullptr, 10); in isLike() 127 bool Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx, in isPrintfLike() argument 129 return isLike(ID, FormatIdx, HasVAListArg, "pP"); in isPrintfLike() 132 bool Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx, in isScanfLike() argument 134 return isLike(ID, FormatIdx, HasVAListArg, "sS"); in isScanfLike()
|
/external/clang/include/clang/Basic/ |
D | Builtins.h | 173 bool isPrintfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg); 178 bool isScanfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg); 213 bool isLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg,
|
D | Attr.td | 839 let Args = [IdentifierArgument<"Type">, IntArgument<"FormatIdx">, 848 let Args = [IntArgument<"FormatIdx">];
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1878 FSI->FormatIdx = Format->getFormatIdx() - 1; in getFormatStringInfo() 1885 if(FSI->FormatIdx == 0) in getFormatStringInfo() 1887 --FSI->FormatIdx; in getFormatStringInfo() 1934 Idx = FSI.FormatIdx; in GetFormatNSStringIdx() 4035 return CheckFormatArguments(Args, FSI.HasVAListArg, FSI.FormatIdx, in CheckFormatArguments() 4135 unsigned FormatIdx; member in __anon15853a9e0511::CheckFormatHandler 4156 Args(Args), FormatIdx(formatIdx), in CheckFormatHandler() 4524 EmitFormatDiagnostic(S, inFunctionCall, Args[FormatIdx], PDiag, in EmitFormatDiagnostic()
|
D | SemaDecl.cpp | 11832 unsigned FormatIdx; in AddKnownFunctionAttributes() local 11834 if (Context.BuiltinInfo.isPrintfLike(BuiltinID, FormatIdx, HasVAListArg)) { in AddKnownFunctionAttributes() 11838 if (FormatIdx < NumParams && // NumParams may be 0 (e.g. vfprintf) in AddKnownFunctionAttributes() 11839 FD->getParamDecl(FormatIdx)->getType()->isObjCObjectPointerType()) in AddKnownFunctionAttributes() 11843 FormatIdx+1, in AddKnownFunctionAttributes() 11844 HasVAListArg ? 0 : FormatIdx+2, in AddKnownFunctionAttributes() 11848 if (Context.BuiltinInfo.isScanfLike(BuiltinID, FormatIdx, in AddKnownFunctionAttributes() 11853 FormatIdx+1, in AddKnownFunctionAttributes() 11854 HasVAListArg ? 0 : FormatIdx+2, in AddKnownFunctionAttributes()
|
D | SemaDeclAttr.cpp | 2864 IdentifierInfo *Format, int FormatIdx, in mergeFormatAttr() argument 2870 F->getFormatIdx() == FormatIdx && in mergeFormatAttr() 2880 return ::new (Context) FormatAttr(Range, Context, Format, FormatIdx, in mergeFormatAttr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2189 IdentifierInfo *Format, int FormatIdx, 9337 unsigned FormatIdx; member
|