25 "--print-rejected-preprocessed-source",
47 "--reduce-memory-overheads",
70 "--listing-lhs-width",
71 "--listing-lhs-width2",
72 "--listing-rhs-width",
73 "--listing-cont-lines",
85 for(
int i=1; i<argc; i++)
87 std::string
argv_i=argv[i];
107 *o!=
nullptr && !
found;
148 else if(
argv_i.size()>2 &&
152 for(std::string::const_iterator
158 set(std::string(
"-a")+*it);
173 *o!=
nullptr && !
found;
200 std::cerr <<
"Warning: uninterpreted as option '" <<
argv_i
const char * as_options_with_argument[]
const char * goto_as_options_with_argument[]
const char * as_options_without_argument[]
A special command line object for GNU Assembler Author: Michael Tautschnig Date: July 2016.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
virtual bool parse(int, const char **)
void set(const std::string &opt, const char *value) override
Set option option to value.
void add_infile_arg(const std::string &arg)
static bool in_list(const char *option, const char **list)
void add_arg(const std::string &arg)
bool has_prefix(const std::string &s, const std::string &prefix)
#define PRECONDITION(CONDITION)