Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a2f2634d3a9931e845bde77cc87414a13790279
      
https://github.com/WebKit/WebKit/commit/8a2f2634d3a9931e845bde77cc87414a13790279
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-03-24 (Mon, 24 Mar 2025)

  Changed paths:
    M Source/WTF/wtf/Compiler.h
    M Source/WebCore/PAL/pal/spi/mac/QuarantineSPI.h

  Log Message:
  -----------
  Add a pragma to declare a system header and deploy it in QuarantineSPI.h
https://bugs.webkit.org/show_bug.cgi?id=290348

Reviewed by Geoffrey Garen.

Static analyzer is currently generating a forward declaration warning for each 
use of
_qtn_proc and _qtn_file as they're not CF types or OS object types. Add a new 
macro,
DECLARE_SYSTEM_HEADER to declare that a given file is a system header and 
deploy it in
QuarantineSPI.h. The forward declaration checker indiscriminately allows a 
forward
declaration of typedef in a system header so this will silence the offending 
warnings.

* Source/WTF/wtf/Compiler.h:
* Source/WebCore/PAL/pal/spi/mac/QuarantineSPI.h:

Canonical link: https://commits.webkit.org/292630@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