github / github/codeql

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

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

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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