Just wanted you to check if it compiles for you.
I was wondering, because it does not find the vector.size() == 0
checks in cycles code. That might be, because it's using a subclassed
vector.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- size-to-empty (branched from master)
- Build Status
Buildable 8828 Build 8828: arc lint + arc unit
Event Timeline
Comment Actions
Subclass should be fine. AFAIK clang-tidy applies the check to any class which has size() and empty().
The fact that usages in Cycles are not found is because clang-tidy is only enabled in source/ directory. In the future we can selectively enable in intern' as well, but it's a bit more tricky.
From quick look the patch seems correct.