Address of reference variable
Author: LGTM
import cpp
from AddressOfExpr addr, VariableAccess access
where
access = addr.getOperand() and
access.getTarget().getType() instanceof ReferenceType
select addr
Description
Finds address-of expressions (`&`) that take the address of a reference variable