Skip to content

Fix #14896: false positive: missing co_return in void function#8719

Open
ludviggunne wants to merge 3 commits into
cppcheck-opensource:mainfrom
ludviggunne:14896-co_return
Open

Fix #14896: false positive: missing co_return in void function#8719
ludviggunne wants to merge 3 commits into
cppcheck-opensource:mainfrom
ludviggunne:14896-co_return

Conversation

@ludviggunne

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread lib/symboldatabase.cpp Dismissed
Comment thread lib/symboldatabase.cpp
Comment thread lib/symboldatabase.cpp Fixed
Comment thread lib/symboldatabase.cpp Fixed
Comment thread lib/symboldatabase.cpp
});
}

bool Function::isCoroutine(const Function* function, const Standards &standards, const Tokenizer &tokens)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm the name could say something like "isCoroutineCalled" or something like that.
the function is not a coroutine itself

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants