[clangd] Index unscoped enums in class scope for code completion
authorTom Praschan <13141438+tom-anders@users.noreply.github.com>
Wed, 2 Nov 2022 11:50:50 +0000 (12:50 +0100)
committerTom Praschan <13141438+tom-anders@users.noreply.github.com>
Wed, 2 Nov 2022 11:50:50 +0000 (12:50 +0100)
commita68bcd81dcc90fc7d6fbe4013569774a19097c4a
treeda22fd21f1a277a76bec0c75e26dfcae3292fe1e
parent2e36dadbd6eab10641ac53969ae3dee0b0391e25
[clangd] Index unscoped enums in class scope for code completion

Fixes https://github.com/clangd/clangd/issues/1082

Differential Revision: https://reviews.llvm.org/D136925
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
clang-tools-extra/clangd/unittests/TestIndex.cpp
clang-tools-extra/clangd/unittests/TestIndex.h