Home | History | Annotate | Download | only in Basic

Lines Matching refs:Category

46   unsigned Category : 5;
75 SHOWINSYSHEADER, CATEGORY) \
78 SHOWINSYSHEADER, CATEGORY, GROUP, STR_SIZE(DESC, uint16_t), DESC \
117 // 1. Add the number of diagnostics in each category preceding the
118 // diagnostic and of the category the diagnostic is in. This gives us
119 // the offset of the category in the table.
120 // 2. Subtract the number of IDs in each category from our ID. This gives us
121 // 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
174 /// getCategoryNumberForDiag - Return the category number that a specified
175 /// DiagID belongs to, or 0 if no category.
178 return Info->Category;
183 // The diagnostic category names.
211 #define CATEGORY(X, ENUM) { X, STR_SIZE(X, uint8_t) },
222 /// getCategoryNameFromID - Given a category ID, return the name of the
223 /// category, an empty string if CategoryID is zero, or null if CategoryID is