Home | History | Annotate | Download | only in Basic

Lines Matching defs:ID

97 /// or null if the ID is invalid.
105 "Diag ID conflict, the enums at the start of clang::diag (in "
124 // 2. Subtract the number of IDs in each category from our ID. This gives us
129 unsigned ID = DiagID - DIAG_START_COMMON - 1;
133 ID -= DIAG_START_##NAME - DIAG_START_##PREV; \
147 if (ID + Offset >= StaticDiagInfoSize)
150 assert(ID < StaticDiagInfoSize && Offset < StaticDiagInfoSize);
152 const StaticDiagInfoRec *Found = &StaticDiagInfo[ID + Offset];
153 // If the diag id doesn't match we found a different diag, abort. This can
154 // happen when this function is called with an ID that points into a hole in
226 /// getCategoryNameFromID - Given a category ID, return the name of the
268 "Invalid diagnostic ID");
275 "Invalid diagnostic ID");
287 // If not, assign a new ID.
288 unsigned ID = DiagInfo.size()+DIAG_UPPER_LIMIT;
289 DiagIDs.insert(std::make_pair(D, ID));
291 return ID;
309 /// getCustomDiagID - Return an ID for a diagnostic with the specified message
311 /// registered and created, otherwise the existing ID is returned.
323 /// level of the specified diagnostic ID is a Warning or Extension.
331 /// \brief Determine whether the given built-in diagnostic ID is a
339 /// ID is for an extension of some sort. This also returns EnabledByDefault,
361 /// getDescription - Given a diagnostic ID, return a description of the
387 /// DiagnosticsEngine object, classify the specified diagnostic ID into a Level,
404 /// object, classify the specified diagnostic ID into a Level, consumable by