[PATCH] D103472: [clang] Fix a crash during code completion

Adam Czachorowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 1 10:58:33 PDT 2021


adamcz added a reviewer: kadircet.
adamcz added a comment.

This is https://github.com/clangd/clangd/issues/771

Sending for review mostly to see if you have any comments on this approach. Trying to reproduce this without <list>, <vector> or something like this didn't work for me so far, I must be holding it wrong or something ;-) Still, submitting without a nice test case seems wrong.
The whole C++20, as far as I can tell, simply adds a bunch of code that's behind ifdef, which is what causes the crash. I don't think this is related to any C++20 features.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103472/new/

https://reviews.llvm.org/D103472



More information about the cfe-commits mailing list