[webkit-changes] [WebKit/WebKit] c88db1: Suppress unsafe cast warnings in downcast, dynamic...
Ryosuke Niwa
noreply at github.com
Mon Dec 16 13:48:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c88db160dfbe7c71bf550ae3eb35de515b6f1521
https://github.com/WebKit/WebKit/commit/c88db160dfbe7c71bf550ae3eb35de515b6f1521
Author: Ryosuke Niwa <rniwa at webkit.org>
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
More information about the webkit-changes
mailing list