Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION(288829@main) [CMake] Build failure with clang-18 crashing …
…on Vector::map and complex LengthPercentage templates https://bugs.webkit.org/show_bug.cgi?id=286004 Reviewed by NOBODY (OOPS!). Related to llvm's llvm/llvm-project#93206, a fix that's part of clang-19. As clang-18 is still quite new and the version in distros like Ubuntu 24.04 LTS, we are adding a workaround on this commit. Thanks to Fujii Hironori for the suggested simpler fix of removing the lambda return type instead of replacing the map with a for loop. * Source/WebCore/rendering/shapes/LayoutShape.cpp: (WebCore::LayoutShape::createShape): * Source/WebCore/style/values/shapes/StylePolygonFunction.cpp: (WebCore::Style::PathComputation<Polygon>::operator):
- Loading branch information