Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
How does this handle Dependent base classes (including CRTP). Can tests be added to demonstrate that behaviour if its supported.
clang-tools-extra/clangd/XRefs.cpp | ||
---|---|---|
1200 | nit: Make this else if or add a continue statement to the the previous if. We know ND can't be a CXXRecordDecl its a CXXMethodDecl. | |
clang-tools-extra/clangd/unittests/XRefsTests.cpp | ||
1513 | If you're changing this line, may as well change use StringRef here. |
nit: Make this else if or add a continue statement to the the previous if. We know ND can't be a CXXRecordDecl its a CXXMethodDecl.
super-nit: Maybe call this CXXRD or just RD, D implies we only know its a Decl but nothing more.