llvm-project
5ed678a1 - [CFG] Add a BuildOption to consider default branch of switch on covered enumerations (#161345)

Commit
34 days ago
[CFG] Add a BuildOption to consider default branch of switch on covered enumerations (#161345) By default, the `default:` branch (or the successor if there is no `default` and cases return) of a switch on fully covered enumerations is considered as "Unreachable". It is a sane assumption in most cases, but not always. That commit allows to change such behavior when needed.
Parents
Loading