#include <gcc_cmdline.h>
|
virtual bool | parse (int, const char **) |
| parses the command line options into a cmdlinet More...
|
|
| gcc_cmdlinet () |
|
| ~goto_cc_cmdlinet () |
|
std::size_t | get_optnr (const std::string &option) |
|
void | set (const std::string &opt, const std::string &value) override |
|
void | set (const std::string &opt, bool value=true) override |
|
bool | have_infile_arg () const |
|
virtual bool | parse (int argc, const char **argv, const char *optstring) |
|
virtual bool | parse (int argc, const char **argv, const char *optstring) |
|
std::string | get_value (char option) const |
|
std::string | get_value (const char *option) const |
|
const std::list< std::string > & | get_values (const std::string &option) const |
|
const std::list< std::string > & | get_values (char option) const |
|
std::list< std::string > | get_comma_separated_values (const char *option) const |
|
virtual bool | isset (char option) const |
|
virtual bool | isset (const char *option) const |
|
virtual void | clear () |
|
bool | has_option (const std::string &option) const |
|
option_namest | option_names () const |
| Pseudo-object that can be used to iterate over options in this cmdlinet (should not outlive this) More...
|
|
| cmdlinet () |
|
virtual | ~cmdlinet () |
|
|
typedef std::vector< std::string > | argst |
|
Definition at line 19 of file gcc_cmdline.h.
◆ argst
◆ gcc_cmdlinet()
gcc_cmdlinet::gcc_cmdlinet |
( |
| ) |
|
|
inline |
◆ parse()
bool gcc_cmdlinet::parse |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
virtual |
parses the command line options into a cmdlinet
- parameters: argument count, argument strings
- Returns
- none
Implements goto_cc_cmdlinet.
Definition at line 223 of file gcc_cmdline.cpp.
◆ parse_arguments()
bool gcc_cmdlinet::parse_arguments |
( |
const argst & |
args_to_parse, |
|
|
bool |
in_spec_file |
|
) |
| |
|
protected |
◆ parse_specs()
void gcc_cmdlinet::parse_specs |
( |
| ) |
|
|
protected |
◆ parse_specs_line()
void gcc_cmdlinet::parse_specs_line |
( |
const std::string & |
line, |
|
|
bool |
in_spec_file |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files: