Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp | ||
---|---|---|
70 ↗ | (On Diff #190974) | Please note that llvm::lower_bound() uses std::lower_bound() which returns an iterator pointing to the first element that is not less than the sought value, or last if no such element is found. So it is mandatory to check the return value whether it is equal to sought value or greater. In latter case you should return Collection.end() to keep up compatibility with find_if. |
lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp | ||
---|---|---|
70 ↗ | (On Diff #190974) | Yup, nice catch! |