Details
Details
- Reviewers
kadircet - Commits
- rG1258747a59db: [clangd] Fix a semantic-highlighting crash.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137064
[clangd] Fix a semantic-highlighting crash. ClosedPublic Authored by hokein on Oct 31 2022, 2:08 AM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 31 2022, 2:49 AM Closed by commit rG1258747a59db: [clangd] Fix a semantic-highlighting crash. (authored by hokein). · Explain WhyOct 31 2022, 3:19 AM This revision was automatically updated to reflect the committed changes. hokein marked 2 inline comments as done.
Revision Contents
Diff 471930 clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
|
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).