CBMC
gcc_cmdline.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: A special command line object for the gcc-like options
4 
5 Author: CM Wintersteiger
6 
7 Date: June 2006
8 
9 \*******************************************************************/
10 
13 
14 #ifndef CPROVER_GOTO_CC_GCC_CMDLINE_H
15 #define CPROVER_GOTO_CC_GCC_CMDLINE_H
16 
17 #include "goto_cc_cmdline.h"
18 
20 {
21 public:
22  // overload
23  virtual bool parse(int, const char**);
24 
26  {
27  }
28 
29 protected:
30  typedef std::vector<std::string> argst;
31 
32  bool parse_arguments(const argst &args_to_parse, bool in_spec_file);
33  void parse_specs();
34  void parse_specs_line(const std::string &line, bool in_spec_file);
35 };
36 
37 #endif // CPROVER_GOTO_CC_GCC_CMDLINE_H
gcc_cmdlinet::parse_specs
void parse_specs()
Parse GCC spec files https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html.
Definition: gcc_cmdline.cpp:467
gcc_cmdlinet::parse
virtual bool parse(int, const char **)
parses the command line options into a cmdlinet
Definition: gcc_cmdline.cpp:229
gcc_cmdlinet::parse_arguments
bool parse_arguments(const argst &args_to_parse, bool in_spec_file)
Definition: gcc_cmdline.cpp:247
goto_cc_cmdline.h
gcc_cmdlinet::parse_specs_line
void parse_specs_line(const std::string &line, bool in_spec_file)
Parse GCC spec files https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html.
Definition: gcc_cmdline.cpp:447
gcc_cmdlinet::argst
std::vector< std::string > argst
Definition: gcc_cmdline.h:30
gcc_cmdlinet::gcc_cmdlinet
gcc_cmdlinet()
Definition: gcc_cmdline.h:25
gcc_cmdlinet
Definition: gcc_cmdline.h:19
goto_cc_cmdlinet
Definition: goto_cc_cmdline.h:19