Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c88db160dfbe7c71bf550ae3eb35de515b6f1521
      
https://github.com/WebKit/WebKit/commit/c88db160dfbe7c71bf550ae3eb35de515b6f1521
  Author: Ryosuke Niwa <[email protected]>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M Source/WTF/wtf/Compiler.h
    M Source/WTF/wtf/TypeCasts.h

  Log Message:
  -----------
  Suppress unsafe cast warnings in downcast, dynamicDowncast, and 
uncheckedDowncast
https://bugs.webkit.org/show_bug.cgi?id=284706

Reviewed by Chris Dumez.

Suppress memory unsafe cast static analyzer warnings in downcast, 
dynamicDowncast, and uncheckedDowncast
since static_cast in these functions are either safe or explicitly chosen to be 
kept for performance reasons.

* Source/WTF/wtf/Compiler.h:
* Source/WTF/wtf/TypeCasts.h:
(WTF::uncheckedDowncast):
(WTF::downcast):
(WTF::dynamicDowncast):

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