Lines Matching refs:CATEGORY
45 unsigned Category : 5;
70 CATEGORY) \
72 NOWERROR, SHOWINSYSHEADER, CATEGORY, GROUP, \
116 // 1. Add the number of diagnostics in each category preceeding 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.
126 #define CATEGORY(NAME, PREV) \
131 CATEGORY(DRIVER, COMMON)
132 CATEGORY(FRONTEND, DRIVER)
133 CATEGORY(SERIALIZATION, FRONTEND)
134 CATEGORY(LEX, SERIALIZATION)
135 CATEGORY(PARSE, LEX)
136 CATEGORY(AST, PARSE)
137 CATEGORY(COMMENT, AST)
138 CATEGORY(SEMA, COMMENT)
139 CATEGORY(ANALYSIS, SEMA)
140 #undef CATEGORY
181 /// getCategoryNumberForDiag - Return the category number that a specified
182 /// DiagID belongs to, or 0 if no category.
185 return Info->Category;
190 // The diagnostic category names.
219 #define CATEGORY(X, ENUM) { X, STR_SIZE(X, uint8_t) },
230 /// getCategoryNameFromID - Given a category ID, return the name of the
231 /// category, an empty string if CategoryID is zero, or null if CategoryID is