llvm / llvm/llvm-project

[clangd] Are there reproducers for `bugprone-use-after-move` crashes?

Open
#159,696 2 comments 0 reactions 0 assignees View on GitHub
clangd question
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Right now, this check is disabled in clangd:

https://github.com/llvm/llvm-project/blob/da71e3c76db9a63eb66ac0415860f84f28cebb78/clang-tools-extra/clangd/TidyProvider.cpp#L217-L220

I'd like to see how much effort it would take to make the check resilient against broken ASTs so it can be enabled, and reproducers for the crash would be very helpful, but I haven't been able to find any.

Relevant:

The commit that originally disabled the check: https://reviews.llvm.org/D83224
Some more discussion: https://github.com/clangd/clangd/issues/759

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.