RESOLVED FIXED 261309
check-webkit-style assertion failure in Source/WebCore/PAL/ThirdParty/libavif/ThirdParty/dav1d/src/thread_task.c
https://bugs.webkit.org/show_bug.cgi?id=261309
Summary check-webkit-style assertion failure in Source/WebCore/PAL/ThirdParty/libavif...
David Kilzer (:ddkilzer)
Reported 2023-09-07 18:56:08 PDT
check-webkit-style assertion failure in Source/WebCore/PAL/ThirdParty/libavif/ThirdParty/dav1d/src/thread_task.c. Note that I've added some debugging output below as well: ``` $ ./Tools/Scripts/check-webkit-style --filter="-,+runtime/wtf_make_unique" Source/WebCore/PAL/ThirdParty/libavif/ThirdParty/dav1d/src/thread_task.c [...] >>> check_identifier_name_in_declaration(Source/WebCore/PAL/ThirdParty/libavif/ThirdParty/dav1d/src/thread_task.c, 422, case DAV1D_TASK_TYPE_FG_APPLY:;, ...) >>> _check_identifier_name_for_acronyms(DAV1D_TASK_TYPE_FG_APPLY:) >>> _split_identifier_into_words(DAV1D_TASK_TYPE_FG_APPLY:) Traceback (most recent call last): File "./Tools/Scripts/check-webkit-style", line 46, in <module> sys.exit(CheckWebKitStyle().main()) File "Tools/Scripts/webkitpy/style/main.py", line 153, in main file_reader.process_paths(paths) File "Tools/Scripts/webkitpy/style/filereader.py", line 149, in process_paths self.process_file(path) File "Tools/Scripts/webkitpy/style/filereader.py", line 137, in process_file self._processor.process(lines, file_path, **kwargs) File "Tools/Scripts/webkitpy/style/checker.py", line 1103, in process checker.check(lines) File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 4811, in check _process_lines(self.file_path, self.file_extension, lines, File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 4643, in _process_lines process_line(filename, file_extension, clean_lines, line, File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 4588, in process_line check_language(filename, clean_lines, line, file_extension, include_state, File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 4044, in check_language check_identifier_name_in_declaration(filename, line_number, line, file_state, error) File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 4215, in check_identifier_name_in_declaration _check_identifier_name_for_acronyms(identifier, line_number, is_class_or_namespace_or_struct_name, error) File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 1918, in _check_identifier_name_for_acronyms identifier_words = _split_identifier_into_words(identifier) File "Tools/Scripts/webkitpy/style/checkers/cpp.py", line 1903, in _split_identifier_into_words assert False, 'Could not match "%s"' % identifier AssertionError: Could not match ":" ```
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-07 19:47:29 PDT
David Kilzer (:ddkilzer)
Comment 2 2023-09-07 19:54:30 PDT
EWS
Comment 3 2023-09-09 11:24:31 PDT
Committed 267833@main (18c176998114): <https://commits.webkit.org/267833@main> Reviewed commits have been landed. Closing PR #17568 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.