Details
Details
- Reviewers
sammccall - Commits
- rG8944f0ef3385: [clangd] Treat class constructor as in the same scope as the class in ranking.
rL336318: [clangd] Treat class constructor as in the same scope as the class in ranking.
rCTE336318: [clangd] Treat class constructor as in the same scope as the class in ranking.
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
unittests/clangd/QualityTests.cpp | ||
---|---|---|
219 | hmm, maybe neater to add an overload of findAnyDecl() that takes a filter function<bool(const NamedDecl&)>? (and implement the findAnyDecl in terms of it) Call site should be slightly more readable, and you'll also get an assertion that there's exactly one match "for free". |
hmm, maybe neater to add an overload of findAnyDecl() that takes a filter function<bool(const NamedDecl&)>? (and implement the findAnyDecl in terms of it)
Call site should be slightly more readable, and you'll also get an assertion that there's exactly one match "for free".