New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modernize-loop-convert check triggers "Multiple diagnostics in flight at once!" assertion #156
Labels
bug
Something isn't working
Comments
This was referenced Apr 23, 2020
Ktwu
pushed a commit
to Ktwu/llvm-project
that referenced
this issue
Apr 24, 2020
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes clangd/clangd#156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715 upstream-commit: a466e4b
hokein
added a commit
to llvm/llvm-project
that referenced
this issue
Jun 10, 2020
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes clangd/clangd#156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715 (cherry picked from commit a466e4b)
arichardson
pushed a commit
to arichardson/llvm-project
that referenced
this issue
Jul 2, 2020
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes clangd/clangd#156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715
ajohnson-uoregon
pushed a commit
to ajohnson-uoregon/clang-rewrite-only
that referenced
this issue
Jul 17, 2022
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes clangd/clangd#156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715 (cherry picked from commit 5dd101b)
mem-frob
pushed a commit
to draperlaboratory/hope-llvm-project
that referenced
this issue
Oct 7, 2022
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes clangd/clangd#156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduce code:
Crash stack:
The check calls
ASTContext::getTypeInfo()
, theASTContext::getTypeInfo()
has a side effect which may produce a new diagnostic and we are current running the check when processing another diagnostic, which triggers this assertion. (the issue only occurs in clangd, not clang-tidy).It looks like there is no trivial fix for it, we need more investigations.
The text was updated successfully, but these errors were encountered: