mirror of
https://github.com/github/codeql.git
synced 2026-02-16 15:03:41 +01:00
11 lines
307 B
Plaintext
11 lines
307 B
Plaintext
import cpp
|
|
|
|
// What we select here isn't too important; we're just testing the
|
|
// __declspec(guard(...)) attributes don't cause extractor errors.
|
|
|
|
from Function f, string p, int n
|
|
where if f.getNumberOfParameters() = 0
|
|
then (p = "<none>" and n = -1)
|
|
else p = f.getParameter(n).toString()
|
|
select f, n, p
|