[webkit-changes] [WebKit/WebKit] b50ab3: [Static Analyzer CI] Enable update-safer-cpp-expec...

Brianna Fan noreply at github.com
Wed Oct 9 09:36:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b50ab39c922f4afcc0b894736c29846f1f50d065
      https://github.com/WebKit/WebKit/commit/b50ab39c922f4afcc0b894736c29846f1f50d065
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M Tools/Scripts/update-safer-cpp-expectations

  Log Message:
  -----------
  [Static Analyzer CI] Enable update-safer-cpp-expectations to take in lists of files per checker
https://bugs.webkit.org/show_bug.cgi?id=281068
rdar://137521171

Reviewed by Ryosuke Niwa.

Modify update-safer-cpp-expectations to take in arguments for the project, checker, and files to update.
Now, we can construct a one-liner command to update expectations.

* Tools/Scripts/update-safer-cpp-expectations:
(parser): Add new arguments for each checker.
(modify_expectations_for_checker_from_file): Separate logic for updating using results file.
(update_expectations_from_file): Ditto.
(modify_expectations_for_checker): New logic for updating using checker args.
(update_expectations): Ditto.
(main):

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