Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 21376 Build 21376: arc lint + arc unit
Event Timeline
clangd/CodeComplete.cpp | ||
---|---|---|
706 | Maybe use vector<ScoredSignature>, followed by std::sort at the end? Or is there any functionality that we can reuse from the priority queue? | |
clangd/Quality.h | ||
170 | Maybe set some default value to avoid UB if someone forgets to set it? | |
172 | Maybe write a direct comparison here instead of evaluate? A comparison operator should be easier to reason about, though. |
NIT: Maybe make it a function with a descriptive name, e.g. hasBetterSignature?
We could call it in a lambda, should make the code even clearer.