|
GCC Middle and Back End API Reference
|
Data Structures | |
| class | Index |
| class | TestParsingIndex |
| class | OptFile |
| class | TestFiltering |
Functions | |
| canonicalize_option_name (option_name) | |
| canonicalize_url_suffix (url_suffix) | |
| target_specific (url_suffix) | |
| filter_urlsuffixes_for_optfile (optfile, url_suffixes) | |
| write_url_file (index, optfile, dstfile) | |
| main (args) | |
Variables | |
| str | DESCRIPTION |
| dict | TARGET_SPECIFIC_PAGES |
| list | PER_LANGUAGE_OPTION_INDEXES |
| parser | |
| type | |
| action | |
| args = parser.parse_args() | |
| INPUT_HTML_PATH = args.base_html_dir | |
| argv | |
| regenerate-opt-urls.canonicalize_option_name | ( | option_name | ) |
Referenced by regenerate-opt-urls.Index.add_entry(), and regenerate-opt-urls.Index.get_url_suffixes().
| regenerate-opt-urls.canonicalize_url_suffix | ( | url_suffix | ) |
Various options have anchors for both the positive and negative form. For example -Wcpp has both: 'gcc/Warning-Options.html#index-Wno-cpp' 'gcc/Warning-Options.html#index-Wcpp' Return a canonicalized version of the url_suffix that strips out any "no-" prefixes, for use in deduplication. Note that the resulting url suffix might not correspond to an actual anchor in the HTML.
Referenced by regenerate-opt-urls.Index.add_entry().
| regenerate-opt-urls.filter_urlsuffixes_for_optfile | ( | optfile, | |
| url_suffixes ) |
Filter out target-specific options for the wrong target.
References target_specific().
Referenced by regenerate-opt-urls.TestFiltering.test_filter(), and write_url_file().
| regenerate-opt-urls.main | ( | args | ) |
References write_url_file().
| regenerate-opt-urls.target_specific | ( | url_suffix | ) |
| regenerate-opt-urls.write_url_file | ( | index, | |
| optfile, | |||
| dstfile ) |
References filter_urlsuffixes_for_optfile().
Referenced by main().
| regenerate-opt-urls.action |
| regenerate-opt-urls.args = parser.parse_args() |
| regenerate-opt-urls.argv |
| str regenerate-opt-urls.DESCRIPTION |
| regenerate-opt-urls.INPUT_HTML_PATH = args.base_html_dir |
| regenerate-opt-urls.parser |
| list regenerate-opt-urls.PER_LANGUAGE_OPTION_INDEXES |
| dict regenerate-opt-urls.TARGET_SPECIFIC_PAGES |
| regenerate-opt-urls.type |