Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Category

37 // Diagnostic category computation code.
65 // If the DiagGroup has a category, return it.
70 // check these for a category as well.
79 /// getDiagnosticCategory - Return the category that the specified diagnostic
83 // If the diagnostic is in a group, and that group has a category, use it.
85 // Check the diagnostic's diag group for a category.
91 // If the diagnostic itself has a category, get it.
104 // The zero'th category is "".
111 std::string Category = getDiagnosticCategory(Diags[i], ParentInfo);
112 if (Category.empty()) continue; // Skip diags with no category.
114 unsigned &ID = CategoryIDs[Category];
118 CategoryStrings.push_back(Category);
579 // Category number.
806 /// category's name as well as an enum that represents the category. The
807 /// table can be used by defining the macro 'CATEGORY' and including this
812 /// CATEGORY("Semantic Issue", DiagCat_Semantic_Issue)
813 /// CATEGORY("Lambda Issue", DiagCat_Lambda_Issue)
820 OS << "CATEGORY(\"" << C << "\", " << getDiagCategoryEnum(C) << ")\n";