switch_test.cpp
| Line | Branch | Condition | Decision | Exec | Source |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | #if (defined __GNUC__ && (__GNUC__ >= 6)) || (defined __clang_major__) | ||||
| 3 | #include "switch_test.h" | ||||
| 4 | |||||
| 5 |
1/2✓ Branch 4 → 5 taken 1 time.
✗ Branch 4 → 7 not taken.
|
3 | SwitchTestIssue783::SwitchTestIssue783() : _name("test") {} | ||
| 6 | |||||
| 7 | 1 | void SwitchTestIssue783::checkSwitch() { | |||
| 8 | 1 | doSomething(EnumNamespace::EnumValue_1); | |||
| 9 | 1 | } | |||
| 10 | #endif | ||||
| 11 |