MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / Result

Class Result

lib/analyzer.h:137–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 enum class Terminate : std::uint8_t { None, Bail, Escape, Modified, Inconclusive, Conditional };
136
137 struct Result {
138 explicit Result(Action action = Action::None, Terminate terminate = Terminate::None)
139 : action(action), terminate(terminate)
140 {}
141 Action action;
142 Terminate terminate;
143
144 void update(Result rhs) {
145 if (terminate == Terminate::None)
146 terminate = rhs.terminate;
147 action |= rhs.action;
148 }
149 };
150
151 enum class Direction : std::uint8_t { Forward, Reverse };
152

Callers 2

checkRecursiveMethod · 0.70
fwdanalysis.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected