github / github/codeql

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

Open
#6,241 1 comment 0 reactions 0 assignees View on GitHub
C++ question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.