[webkit-changes] [WebKit/WebKit] 2a9cd8: check-webkit-style: false positive calling std::sp...

Commit Queue noreply at github.com
Mon Sep 25 14:45:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a9cd8313d475a3217d18c3b76d87806472fb8b6
      https://github.com/WebKit/WebKit/commit/2a9cd8313d475a3217d18c3b76d87806472fb8b6
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/style/checkers/cpp.py
    M Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py

  Log Message:
  -----------
  check-webkit-style: false positive calling std::span::begin() in initializer
https://bugs.webkit.org/show_bug.cgi?id=262071
<rdar://116015290>

Reviewed by Jonathan Bedard.

* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_namespace_indentation):
- Skip check on class initializer lines.

* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_indentation):
- Add test case.
(WebKitStyleTest.test_member_initialization_list):
- Drive-by fix to remove extra parenthesis.

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




More information about the webkit-changes mailing list