mirror of
https://github.com/github/codeql.git
synced 2026-03-23 16:06:47 +01: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)
|
|
|