⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 283282 in webkit


Ignore:
Timestamp:
Sep 29, 2021, 4:53:31 PM (5 years ago)
Author:
basuke.suzuki@sony.com
Message:

[webkitpy] LOG_CHANNEL is widely used in the codebase and shouldn't be treated as error
https://bugs.webkit.org/show_bug.cgi?id=230995

Reviewed by Jonathan Bedard.

LOG_CHANNEL is the macro which is defined in each framework to define list of all channels
in the framework.

  • Scripts/webkitpy/style/checkers/cpp.py:

(check_identifier_name_in_declaration):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r283281 r283282  
     12021-09-29  Basuke Suzuki  <basuke.suzuki@sony.com>
     2
     3        [webkitpy] LOG_CHANNEL is widely used in the codebase and shouldn't be treated as error
     4        https://bugs.webkit.org/show_bug.cgi?id=230995
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        LOG_CHANNEL is the macro which is defined in each framework to define list of all channels
     9        in the framework.
     10
     11        * Scripts/webkitpy/style/checkers/cpp.py:
     12        (check_identifier_name_in_declaration):
     13
    1142021-09-29  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Tools/Scripts/webkitpy/style/checkers/cpp.py

    r278340 r283282  
    41054105                and not modified_identifier == "vm_throw"
    41064106                and not modified_identifier == "DFG_OPERATION"
     4107                and not modified_identifier == "LOG_CHANNEL"
    41074108                and not modified_identifier.find('chrono_literals') >= 0):
    41084109                error(line_number, 'readability/naming/underscores', 4, identifier + " is incorrectly named. Don't use underscores in your identifier names.")
Note: See TracChangeset for help on using the changeset viewer.