[webkit-changes] [WebKit/WebKit] 0477b9: Suppress more clang static analyzer warnings in WTF

Ryosuke Niwa noreply at github.com
Fri Dec 20 22:27:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0477b9ff225fc4e685c25b2d91621354ab3bdd0b
      https://github.com/WebKit/WebKit/commit/0477b9ff225fc4e685c25b2d91621354ab3bdd0b
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations
    M Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WTF/wtf/text/AtomString.h
    M Source/WTF/wtf/text/AtomStringImpl.h
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.h
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionCommand.mm

  Log Message:
  -----------
  Suppress more clang static analyzer warnings in WTF
https://bugs.webkit.org/show_bug.cgi?id=284783

Reviewed by Chris Dumez.

Suppressed more clang static analyzer warnings.

* Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WTF/wtf/text/AtomString.h:
(WTF::nullAtom):
(WTF::emptyAtom):
* Source/WTF/wtf/text/AtomStringImpl.h:
(WTF::AtomStringImpl::lookUp):
(WTF::AtomStringImpl::add):
(isType):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::empty):
(WTF::StringImpl::createSubstringSharingImpl):
(WTF::StringImpl::tryCreateUninitialized):
(WTF::StringImpl::StaticStringImpl::operator StringImpl&):
* Source/WTF/wtf/text/StringView.h:
(WTF::String::hasInfixStartingAt const):
(WTF::String::hasInfixEndingAt const):
* Source/WTF/wtf/text/WTFString.h:
(WTF::nullString):
(WTF::emptyString):
(WTF::String::defaultWritingDirection const):
(WTF::String::substring const):
(WTF::String::operator NSString * const):
(WTF::String::removeCharacters const):
* Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionCommand.mm:
(-[WKWebExtensionCommand activationKey]):

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