|
ROSE 0.11.145.354
|
#include <Rose/Source/AST/cmdline.h>

Public Types | |
| enum class | Mode { all , integrity , integrity_edges , integrity_declarations , integrity_symbols , integrity_types , consistency , unknown } |
| Many different modes are available. More... | |
| enum class | Effect { none , summary , report , fail , unknown } |
| One can select the effect if any defect is detected. More... | |
Public Member Functions | |
| void | exec (SgProject *project) const |
Static Public Member Functions | |
| static Mode | __mode (std::string const &) |
| static Effect | __effect (std::string const &) |
Public Attributes | |
| bool | on {false} |
| std::vector< Mode > | modes {Mode::integrity} |
| Effect | effect {Effect::none} |
| std::string | log |
| Filepath to write out the log (equivalent to report) | |
| std::string | save |
| Filepath (without extension) where to save both the AST and a JSON dump of the defects. | |
|
strong |
Many different modes are available.
| Enumerator | |
|---|---|
| all | run all checkers |
| integrity | run all integrity checkers |
| integrity_edges | checks the edges of the AST for invalid pointers/nodes |
| integrity_declarations | checks each of the decalration subgraphs (1st-nondef / defn) |
| integrity_symbols | checks the symbols subgraph |
| integrity_types | checks the types subgraph |
| consistency | run all consistency checkers |
|
strong |
| std::vector<Mode> Rose::Source::AST::cmdline::checker_t::modes {Mode::integrity} |
| Effect Rose::Source::AST::cmdline::checker_t::effect {Effect::none} |
| std::string Rose::Source::AST::cmdline::checker_t::log |
| std::string Rose::Source::AST::cmdline::checker_t::save |