Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed216eb3add10f6b788b365dfb7b1798392176a0
      
https://github.com/WebKit/WebKit/commit/ed216eb3add10f6b788b365dfb7b1798392176a0
  Author: Adrian Taylor <[email protected]>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M 
Source/JavaScriptCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
    M Source/JavaScriptCore/runtime/BufferMemoryHandle.h
    M Source/WTF/wtf/CheckedPtr.h
    M Source/WTF/wtf/RefPtr.h
    M Source/WTF/wtf/TZoneMalloc.h
    M Source/WTF/wtf/WeakPtrFactory.h
    M Source/WebCore/platform/RectEdges.h
    M Source/WebCore/platform/graphics/ColorMatrix.h
    M Source/WebCore/platform/graphics/IntSize.h

  Log Message:
  -----------
  Add missing includes
https://bugs.webkit.org/show_bug.cgi?id=296125
rdar://156057537

Reviewed by Richard Robinson.

This adds some includes to make each of these header files self-contained,
which is necessary when we build them as clang modules. This will happen once
we enable Swift/C++ interop.

These additional includes provide extra visibility to the clang static analysis
checkers that there is an uncounted StringImpl* variable inside a JSC JIT-
related file. This PR therefore adds an extra safer C++ exception for that file.
I briefly looked at fixing it instead, but it would have required switching
StringImpl* for Ref<StringImpl> across multiple JIT-related files and should
be done by someone more skilled in making these changes inside JSC.

* 
Source/JavaScriptCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
* Source/JavaScriptCore/runtime/BufferMemoryHandle.h:
* Source/WTF/wtf/CheckedPtr.h:
* Source/WTF/wtf/RefPtr.h:
* Source/WTF/wtf/TZoneMalloc.h:
* Source/WTF/wtf/WeakPtrFactory.h:
* Source/WebCore/platform/RectEdges.h:
* Source/WebCore/platform/graphics/ColorMatrix.h:
* Source/WebCore/platform/graphics/IntSize.h:

Canonical link: https://commits.webkit.org/297582@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to