aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/openmp.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-08-08 18:10:54 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-08-08 18:10:54 +0000
commit1c4d457e82695db889b52f62e4d45dec83e1d7f1 (patch)
tree663ab8e6b537e7e88f55ea4ae185dac2a4da75c8 /gcc/fortran/openmp.c
parent66c3dd8c1b53072d64bcbee48a4aec4d10612356 (diff)
downloadgcc-1c4d457e82695db889b52f62e4d45dec83e1d7f1.zip
gcc-1c4d457e82695db889b52f62e4d45dec83e1d7f1.tar.gz
gcc-1c4d457e82695db889b52f62e4d45dec83e1d7f1.tar.bz2
c-format.c: cleanup of check_format_info_main
gcc/c-family/ChangeLog: * c-format.c (class flag_chars_t): New class. (struct length_modifier): New struct. (class argument_parser): New class. (flag_chars_t::flag_chars_t): New ctor. (flag_chars_t::has_char_p): New method. (flag_chars_t::add_char): New method. (flag_chars_t::validate): New method. (flag_chars_t::get_alloc_flag): New method. (flag_chars_t::assignment_suppression_p): New method. (argument_parser::argument_parser): New ctor. (argument_parser::read_any_dollar): New method. (argument_parser::read_format_flags): New method. (argument_parser::read_any_format_width): New method. (argument_parser::read_any_format_left_precision): New method. (argument_parser::read_any_format_precision): New method. (argument_parser::handle_alloc_chars): New method. (argument_parser::read_any_length_modifier): New method. (argument_parser::read_any_other_modifier): New method. (argument_parser::find_format_char_info): New method. (argument_parser::validate_flag_pairs): New method. (argument_parser::give_y2k_warnings): New method. (argument_parser::parse_any_scan_set): New method. (argument_parser::handle_conversions): New method. (argument_parser::check_argument_type): New method. (check_format_info_main): Introduce classes argument_parser and flag_chars_t, moving the code within the loop into methods of these classes. Make various locals "const". From-SVN: r239247
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions