This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Btw, the condition (cp_parser_parsing_tentatively && !cp_parser_committed_to_tentative_parse) appears in the parser quite often. Maybe we could make a function
static bool cp_parser_parsing_really_tentatively (cp_parser* parser) { return (cp_parser_parsing_tentatively (parser) && !cp_parser_committed_to_tentative_parse (parse)); }
use
d) !cp_parser_parsing_really_tentatively
and clean up the rest.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |