-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ComplexTextController: Avoid unsafe forward declaration #43675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ComplexTextController: Avoid unsafe forward declaration #43675
Conversation
rdar://148631147 https://bugs.webkit.org/show_bug.cgi?id=291117 Reviewed by NOBODY (OOPS!). * Source/WebCore/SaferCPPExpectations/ForwardDeclCheckerExpectations: * Source/WebCore/platform/graphics/ComplexTextController.h:
EWS run on current version of this PR (hash 1af38de) |
Safer C++ Build #30674 (1af38de)❌ Found 1 failing file with 1 issue. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there’s a Safer CPP failure.
@geoffreygaren I believe this might be a false positive as we already include WeakHashSet.h which includes WeakPtr.h which defines SingleThreadWeakHashSet. I wrote @rniwa about it. |
Makes sense. In the meantime we’ll need to figure out how to keep the bot green despite the false positive. |
We should probably suppress it for now. Here's a clang PR to fix this issue in the checker: llvm/llvm-project#134545. |
1af38de
1af38de