Lines Matching refs:ID
22 #define BUILTIN(ID, TYPE, ATTRS) { #ID, TYPE, ATTRS, 0, ALL_LANGUAGES }, argument
23 #define LIBBUILTIN(ID, TYPE, ATTRS, HEADER, BUILTIN_LANG) { #ID, TYPE, ATTRS, HEADER,\ argument
28 const Builtin::Info &Builtin::Context::GetRecord(unsigned ID) const { in GetRecord()
29 if (ID < Builtin::FirstTSBuiltin) in GetRecord()
30 return BuiltinInfo[ID]; in GetRecord()
31 assert(ID - Builtin::FirstTSBuiltin < NumTSRecords && "Invalid builtin ID!"); in GetRecord()
32 return TSRecords[ID - Builtin::FirstTSBuiltin]; in GetRecord()
75 void Builtin::Context::ForgetBuiltin(unsigned ID, IdentifierTable &Table) { in ForgetBuiltin() argument
76 Table.get(GetRecord(ID).Name).setBuiltinID(0); in ForgetBuiltin()
80 Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx, in isPrintfLike() argument
82 const char *Printf = strpbrk(GetRecord(ID).Attributes, "pP"); in isPrintfLike()
99 Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx, in isScanfLike() argument
101 const char *Scanf = strpbrk(GetRecord(ID).Attributes, "sS"); in isScanfLike()