mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
autoformat
This commit is contained in:
@@ -440,7 +440,9 @@ private module ControlFlowGraphImpl {
|
||||
// Join order engineering -- first determine the switch block and the case indices required, then retrieve them.
|
||||
bindingset[switch, i]
|
||||
pragma[inline_late]
|
||||
private predicate isNthCaseOf(SwitchBlock switch, SwitchCase c, int i) { c.isNthCaseOf(switch, i) }
|
||||
private predicate isNthCaseOf(SwitchBlock switch, SwitchCase c, int i) {
|
||||
c.isNthCaseOf(switch, i)
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a `SwitchCase` that may be `pred`'s direct successor, where `pred` is declared in block `switch`.
|
||||
|
||||
@@ -13,9 +13,7 @@ private PatternCase getPatternCase(SwitchBlock switch, int i) {
|
||||
/**
|
||||
* Gets the first `PatternCase` defined on `switch`, if one exists.
|
||||
*/
|
||||
PatternCase getFirstPatternCase(SwitchBlock switch) {
|
||||
result = getPatternCase(switch, 0)
|
||||
}
|
||||
PatternCase getFirstPatternCase(SwitchBlock switch) { result = getPatternCase(switch, 0) }
|
||||
|
||||
/**
|
||||
* Gets the PatternCase after pc, if one exists.
|
||||
|
||||
Reference in New Issue
Block a user