![]() |
Purple
0.1
Standard Language Specification
|
Function headers for command line argument parsing. More...


Go to the source code of this file.
Classes | |
| struct | PurpleArgs |
| Structure containing command line arguments. More... | |
Macros | |
| #define | ARGP_HELP_FLAGS 0x100 |
| #define | ARGP_LLVM_OUTPUT 0x101 |
| #define | FLAGS_START 0x201 |
| #define | FCONST_EXPR_REDUCE_CODE 0x202 |
| #define | FPRINT_FUNC_ANNOTATIONS 0x203 |
| #define | FLAGS_END 0x300 |
Typedefs | |
| typedef struct PurpleArgs | PurpleArgs |
Functions | |
| void | parse_args (PurpleArgs *args, int argc, char *argv[]) |
| Parses command-line arguments via argp. More... | |
| void | set_opt_level (PurpleArgs *args, int opt_level) |
| Set optimization flags based on a given opt level. More... | |
| void | help_flags () |
Function headers for command line argument parsing.
| #define ARGP_HELP_FLAGS 0x100 |
| #define ARGP_LLVM_OUTPUT 0x101 |
| #define FCONST_EXPR_REDUCE_CODE 0x202 |
| #define FLAGS_END 0x300 |
| #define FLAGS_START 0x201 |
| #define FPRINT_FUNC_ANNOTATIONS 0x203 |
| typedef struct PurpleArgs PurpleArgs |
| void help_flags | ( | ) |
| void parse_args | ( | PurpleArgs * | args, |
| int | argc, | ||
| char * | argv[] | ||
| ) |
Parses command-line arguments via argp.
| void set_opt_level | ( | PurpleArgs * | args, |
| int | opt_level | ||
| ) |
Set optimization flags based on a given opt level.
| args | PurpleArgs struct to set flags in |
| opt_level | Level of optimization to set |