This was originally part of https://reviews.llvm.org/D136925, but we decided to move it to a separate patch.
In case it turns out to be controversial, it can be reverted more easily.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The test added in the previous patch, CompletionTest.Enums, needs to be updated to reflect this change (Scoped::Clangd3 now appears as a completion).
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
2136 | Why remove the (InTopLevelScope(*EnumDecl) || InClassScope(*EnumDecl)) part? |
Why remove the (InTopLevelScope(*EnumDecl) || InClassScope(*EnumDecl)) part?