X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fdiagnostic.h;h=37cded711806b9c73abef4400fe5e2c4993152df;hp=a9fe623ae78ed913e5da047209d6731245dbc4b8;hb=efb9d9ee8e1478917ccbfa1e47447d8dfb63953c;hpb=a869d17ed1730aabcda5c3733c3518267ba19628;ds=sidebyside diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index a9fe623ae78..37cded71180 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -43,6 +43,8 @@ typedef struct location_t location; /* The kind of diagnostic it is about. */ diagnostic_t kind; + /* Which OPT_* directly controls this diagnostic. */ + int option_index; } diagnostic_info; #define pedantic_error_kind() (flag_pedantic_errors ? DK_ERROR : DK_WARNING)