CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds reads of `aDate` (defined on class `Order`)

import cpp

from Field f, FieldAccess access
where
  f.hasName("aDate") and
  f.getDeclaringType().hasName("Order") and
  f = access.getTarget()
select access