github / github/codeql

LGTM.com - false positive cpp/missing-return co-routines

Aperta
#5,918 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
C++ false-positive
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

**Description of the false positive**

Co-routines do not need a return statement even though it has a return value. Since the co-routine immediatly returns the return value as-if a promise.

**URL to the alert on the project page on LGTM.com**

Since LGTM.com does not recognise my project as a c++ project here is the github page: https://github.com/ttauri-project/ttauri/blob/0bf4717084fbc7d86d569b9722547884c0ac88e9/src/ttauri/ranges.hpp#L49-L49

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.