mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
12 lines
195 B
Plaintext
12 lines
195 B
Plaintext
import cpp
|
|
|
|
string attribute(Function f) {
|
|
if exists(f.getAnAttribute())
|
|
then result = f.getAnAttribute().toString()
|
|
else result = "<none>"
|
|
}
|
|
|
|
from Function f
|
|
select f, attribute(f)
|
|
|