github / github/codeql

How to get the type and the specifier of a type of a parameter in the function?

Offen
#6,241 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
C++ question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

I am using codeql with cpp for some context.
For example, I have a function like this
`void function (const int param1, char * param2) {
}`
How could I write a query that would return
const int and char *?
I have written queries that can either return the type or the specifier but not everything.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.