[webkit-changes] [WebKit/WebKit] b3871d: check-webkit-style is wrong about expected format ...

Lauro Moura noreply at github.com
Thu Mar 14 15:03:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3871d2a862c4a16aef3d7404d9647c16e8b55ad
      https://github.com/WebKit/WebKit/commit/b3871d2a862c4a16aef3d7404d9647c16e8b55ad
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

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

  Log Message:
  -----------
  check-webkit-style is wrong about expected format for std::function variables
https://bugs.webkit.org/show_bug.cgi?id=124730

Reviewed by Jonathan Bedard.

Add checks for lines with std::function< and Function< when the "space
before (" check is triggered.

* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_spacing_for_function_call):
* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest):

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