mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Shared: Address review comments for shared basic block library
This commit is contained in:
@@ -106,9 +106,9 @@ module CfgInput implements InputSig<Location> {
|
||||
result = n.(FuncDeclElement).getAst()
|
||||
}
|
||||
|
||||
predicate idOfAstNode(AstNode node, int id) { idOf(projectToAst(node), id) }
|
||||
int idOfAstNode(AstNode node) { idOf(projectToAst(node), result) }
|
||||
|
||||
predicate idOfCfgScope(CfgScope node, int id) { idOf(node, id) }
|
||||
int idOfCfgScope(CfgScope node) { idOf(node, result) }
|
||||
}
|
||||
|
||||
private module CfgSplittingInput implements SplittingInputSig<Location, CfgInput> {
|
||||
|
||||
Reference in New Issue
Block a user