mirror of
https://github.com/github/codeql.git
synced 2026-03-05 23:26:51 +01:00
13 lines
284 B
Plaintext
13 lines
284 B
Plaintext
import cpp
|
|
import semmle.code.cpp.valuenumbering.HashCons
|
|
|
|
from HashCons h
|
|
where strictcount(h.getAnExpr()) > 1
|
|
select
|
|
h,
|
|
strictconcat(Location loc
|
|
| loc = h.getAnExpr().getLocation()
|
|
| loc.getStartLine() +
|
|
":c" + loc.getStartColumn() + "-c" + loc.getEndColumn()
|
|
, " ")
|