Files
codeql/ql/test
Chris Smowton 4882f277f5 Remove spurious control-flow edge around switch block without a test-expression
Previously we thought it possible to get from top to bottom of a block like "switch { case f(): ... }", when in fact this is only possible if there are no case blocks to execute.

I also add tests for two possible corner cases of a switch without a test-expression: a completely empty switch (the 'true' is indeed the last node) and switch with an empty default block (a single 'skip' is generated for the default block and the 'true' is not the last node)
2020-06-23 17:46:08 +01:00
..
2020-06-19 14:21:10 +01:00
2019-11-08 12:16:26 +00:00
2019-11-08 12:16:26 +00:00
2020-04-07 14:41:54 +01:00
2019-12-06 18:27:47 +01:00