This is a fairly ugly hack - we back off several features for any variable
whose type isn't deduced, to avoid computing/caching linkage.
Better suggestions welcome.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Unit tests: pass. 62439 tests passed, 0 failed and 845 were skipped.
clang-tidy: fail. clang-tidy found 0 errors and 1 warnings. 1 of them are added as review comments below (why?).
clang-format: fail. Please format your changes with clang-format by running git-clang-format HEAD^ or applying this patch.
Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml
Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.
Comment Actions
thanks, lgtm!
clang-tools-extra/clangd/CodeComplete.cpp | ||
---|---|---|
1007–1012 | nit: maybe decrease # of Candidate.getFunctions via if(!doc.empty()) return Result; if(const auto *FD = Candidate->getFunction()) { .... } |
nit: maybe decrease # of Candidate.getFunctions via