mirror of
https://github.com/github/codeql.git
synced 2026-01-06 19:20:25 +01:00
10 lines
319 B
Plaintext
10 lines
319 B
Plaintext
import cpp
|
|
|
|
// A variable may have more than one initializer because variables are merged
|
|
// when they have the same name and appear in the same source file, but their
|
|
// initializers are not merged.
|
|
|
|
from Variable v
|
|
select v, v.getInitializer().getExpr().getValue(),
|
|
count(v.getInitializer().getExpr().getValue())
|