mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
docs: rename ql-training-rst > ql-training
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import cpp
|
||||
|
||||
from LocalVariable lv, ControlFlowNode def
|
||||
where
|
||||
def = lv.getAnAssignment() and
|
||||
not exists(VariableAccess use |
|
||||
use = lv.getAnAccess() and
|
||||
use = def.getASuccessor+()
|
||||
)
|
||||
select lv, def
|
||||
Reference in New Issue
Block a user