[PATCH] D94919: [clangd] Fix a crash when indexing invalid ObjC method declaration

Adam Czachorowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 22 10:14:44 PST 2021


adamcz added a comment.

The crash happens while indexing the file, not during code completion. The code completion tests generally specify a cursor position, but in this case it is not relevant and could confuse the reader. This seemed like a logical place for indexing bug, in the spirit of using minimal repro case (i.e. you don't need to trigger code completion at all)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94919



More information about the cfe-commits mailing list