github / github/codeql

To get the expression from SwitchCase

Aperta
#9,842 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

```c

#define ABC XVY(1)

{
int cmd = 1;
int ABC=1;

switch(cmd) {
case ABC:
printf("hello!\n);
}
}
```

How to get a "ABC" from a SwitchCase class? (Not a value using (SwitchCase).getExpr().getFullyConverted().getValue() )

Thanks in advance,

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.