[webkit-changes] [WebKit/WebKit] b30e5d: Enable warning flags that are on by default in ope...

Commit Queue noreply at github.com
Fri Jan 12 09:45:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b30e5d409182c801fb31e20e53360472f1f67971
      https://github.com/WebKit/WebKit/commit/b30e5d409182c801fb31e20e53360472f1f67971
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M Configurations/CommonBase.xcconfig
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
    M Source/WebKit/UIProcess/ios/WKTextInteractionWrapper.mm

  Log Message:
  -----------
  Enable warning flags that are on by default in open source clang-17
https://bugs.webkit.org/show_bug.cgi?id=267387
<rdar://120817888>

Reviewed by Alexey Proskuryakov.

* Configurations/CommonBase.xcconfig:
(WK_COMMON_WARNING_CFLAGS):
- Add warning flags that are enabled by default in open source clang-17
  to make sure they don't regress.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _updateInputContextAfterBlurringAndRefocusingElement]):
- Add early return to avoid warning.
* Source/WebKit/UIProcess/ios/WKTextInteractionWrapper.mm:
(-[WKTextInteractionWrapper initWithView:]):
- Add block to fix -Wmisleading-indentation warning.

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




More information about the webkit-changes mailing list