Home | History | Annotate | Download | only in Basic

Lines Matching defs:Category

46   unsigned Category : 5;
70 SHOWINSYSHEADER, CATEGORY) \
73 SHOWINSYSHEADER, CATEGORY, GROUP, STR_SIZE(DESC, uint16_t), DESC \
116 // 1. Add the number of diagnostics in each category preceding the
117 // diagnostic and of the category the diagnostic is in. This gives us
118 // the offset of the category in the table.
119 // 2. Subtract the number of IDs in each category from our ID. This gives us
120 // the offset of the diagnostic in the category.
125 #define CATEGORY(NAME, PREV) \
130 CATEGORY(DRIVER, COMMON)
131 CATEGORY(FRONTEND, DRIVER)
132 CATEGORY(SERIALIZATION, FRONTEND)
133 CATEGORY(LEX, SERIALIZATION)
134 CATEGORY(PARSE, LEX)
135 CATEGORY(AST, PARSE)
136 CATEGORY(COMMENT, AST)
137 CATEGORY(SEMA, COMMENT)
138 CATEGORY(ANALYSIS, SEMA)
139 #undef CATEGORY
173 /// getCategoryNumberForDiag - Return the category number that a specified
174 /// DiagID belongs to, or 0 if no category.
177 return Info->Category;
182 // The diagnostic category names.
210 #define CATEGORY(X, ENUM) { X, STR_SIZE(X, uint8_t) },
221 /// getCategoryNameFromID - Given a category ID, return the name of the
222 /// category, an empty string if CategoryID is zero, or null if CategoryID is