mirror of
https://github.com/github/codeql.git
synced 2026-04-19 22:14:01 +02:00
C++: Also add a 'getIndirection' on 'GlobalDef' as well. This will be useful in the next commit.
This commit is contained in:
@@ -1006,6 +1006,9 @@ class GlobalDef extends TGlobalDef, SsaDefOrUse {
|
||||
global.hasIndexInBlock(block, index, sv)
|
||||
}
|
||||
|
||||
/** Gets the indirection index of this definition. */
|
||||
int getIndirection() { result = global.getIndirection() }
|
||||
|
||||
/** Gets the indirection index of this definition. */
|
||||
int getIndirectionIndex() { result = global.getIndirectionIndex() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user