1/* DK_UNSPECIFIED must be first so it has a value of zero. We never 2 assign this kind to an actual diagnostic, we only use this in 3 variables that can hold a kind, to mean they have yet to have a 4 kind specified. I.e. they're uninitialized. Within the diagnostic 5 machinery, this kind also means "don't change the existing kind", 6 meaning "no change is specified". */ 7DEFINE_DIAGNOSTIC_KIND (DK_UNSPECIFIED, "") 8 9/* If a diagnostic is set to DK_IGNORED, it won't get reported at all. 10 This is used by the diagnostic machinery when it wants to disable a 11 diagnostic without disabling the option which causes it. */ 12DEFINE_DIAGNOSTIC_KIND (DK_IGNORED, "") 13 14/* The remainder are real diagnostic types. */ 15DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "fatal error: ") 16DEFINE_DIAGNOSTIC_KIND (DK_ICE, "internal compiler error: ") 17DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "error: ") 18DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ") 19DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ") 20DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ") 21DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ") 22DEFINE_DIAGNOSTIC_KIND (DK_DEBUG, "debug: ") 23 24