Details
Details
- Reviewers
kadircet - Commits
- rG1258747a59db: [clangd] Fix a semantic-highlighting crash.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks!
clang-tools-extra/clangd/SemanticHighlighting.cpp | ||
---|---|---|
664–666 | can you add a comment here saying getMethodDecl can return nullptr with member pointers. (it's also quite surprising that this is the only place we're calling getMethodDecl in clangd, afaict). | |
664–666 | nit: isa_and_present is the new alternative |
can you add a comment here saying getMethodDecl can return nullptr with member pointers.
(it's also quite surprising that this is the only place we're calling getMethodDecl in clangd, afaict).