Lines Matching refs:ID
24 #define BUILTIN(ID, TYPE, ATTRS) { #ID, TYPE, ATTRS, 0, ALL_LANGUAGES }, argument
25 #define LANGBUILTIN(ID, TYPE, ATTRS, BUILTIN_LANG) { #ID, TYPE, ATTRS, 0, BUILTIN_LANG }, argument
26 #define LIBBUILTIN(ID, TYPE, ATTRS, HEADER, BUILTIN_LANG) { #ID, TYPE, ATTRS, HEADER,\ argument
31 const Builtin::Info &Builtin::Context::GetRecord(unsigned ID) const { in GetRecord()
32 if (ID < Builtin::FirstTSBuiltin) in GetRecord()
33 return BuiltinInfo[ID]; in GetRecord()
34 assert(ID - Builtin::FirstTSBuiltin < NumTSRecords && "Invalid builtin ID!"); in GetRecord()
35 return TSRecords[ID - Builtin::FirstTSBuiltin]; in GetRecord()
96 void Builtin::Context::ForgetBuiltin(unsigned ID, IdentifierTable &Table) { in ForgetBuiltin() argument
97 Table.get(GetRecord(ID).Name).setBuiltinID(0); in ForgetBuiltin()
100 bool Builtin::Context::isLike(unsigned ID, unsigned &FormatIdx, in isLike() argument
108 const char *Like = ::strpbrk(GetRecord(ID).Attributes, Fmt); in isLike()
123 bool Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx, in isPrintfLike() argument
125 return isLike(ID, FormatIdx, HasVAListArg, "pP"); in isPrintfLike()
128 bool Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx, in isScanfLike() argument
130 return isLike(ID, FormatIdx, HasVAListArg, "sS"); in isScanfLike()