github / github/codeql

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

Ouverte
#5,918 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
C++ false-positive
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.