An example that causes a warning when checking style compliance: return std::any_of(m_children.begin(), m_children.end(), [](TextureMapperLayer* child) { return child->descendantsOrSelfHaveRunningAnimations(); }); The style checker does not expect the starting curly brace to be on the first line -- it expects it on the second one instead. It should be noted that inlined lambdas are already mostly written with the starting curly brace on the same line as the lambda parameters.
Bug 153732 shows one of the many, many cases where the style checker gives false positives about this.
*** This bug has been marked as a duplicate of bug 125616 ***