They are already provided by Sema, deserializing from preamble if need
be. Moreover category names are meaningless outside interface/implementation
context, hence they were only causing noise.
Details
Details
- Reviewers
dgoldman - Commits
- rG544d20eab662: [clangd] Dont index ObjCCategoryDecls for completion
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
1918 | Seems like we should also ignore ObjCCategoryImplDecl, I think those would have the same issue (although only from other .m files in the project, not from SDK headers)? |
Comment Actions
- Also handle ObjcCategoryImplDecl
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
1918 | we actually never index those, as symbolcollector canonicalizes ObjcCategoryImplDecls to ObjcCategoryDecl, so we can't really test it. but adding here for completeness. |
Seems like we should also ignore ObjCCategoryImplDecl, I think those would have the same issue (although only from other .m files in the project, not from SDK headers)?