Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef5d6ef23014f73d1fad4db343d7b1506338dffc
      
https://github.com/WebKit/WebKit/commit/ef5d6ef23014f73d1fad4db343d7b1506338dffc
  Author: Lily Spiniolas <[email protected]>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

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

  Log Message:
  -----------
  Remove multi-line string literal check from the style checker
https://bugs.webkit.org/show_bug.cgi?id=301550
rdar://163529805

Reviewed by Aditya Keerthi and Wenson Hsieh.

Removed the multi-line string check from the style checker. Multi-line
string literals are used commonly in API tests for formatting HTML
because they are easier to manage and are more readable than the
alternatives. The original style checker rule was ported directly
from cpplint in https://commits.webkit.org/37491@main, and our style
guide has no mention of multi-line strings.

* Tools/Scripts/webkitpy/style/checkers/cpp.py:
(check_for_multiline_comments):
(process_line):
(check_for_multiline_comments_and_strings): Deleted.
* Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to