Skip to content

[clang-tidy] cppcoreguidelines-avoid-reference-coroutine-parameters false positives on lamdbas #64915

@rockwotj

Description

@rockwotj

Reproducer: https://godbolt.org/z/68xKvTWff
Check: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-reference-coroutine-parameters.html

Right now the reference coroutine parameter check is too over aggressive in that lambda function parameters that are not coroutines are also checked and reported.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions