mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
11 lines
327 B
Plaintext
11 lines
327 B
Plaintext
import cpp
|
|
|
|
from Class c, int i, string m, string members, string locations
|
|
where
|
|
if exists(c.getAMember())
|
|
then m = c.getAMember(i).toString()
|
|
else (m = "<none>" and i = -1)
|
|
and members = count(c.getAMember()) + " members"
|
|
and locations = count(c.getLocation()) + " locations"
|
|
select c, members, locations, i, m
|