aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/llvm/locals.scm
blob: 1946c28713946b6c58530d10723d6e734fa6f081 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Scopes

(function_body) @local.scope

; Definitions

(argument
  (value (var (local_var) @local.definition)))

(instruction
  (local_var) @local.definition)

; References
(local_var) @local.reference