[webkit-changes] [WebKit/WebKit] e4580b: Fix PlayStation build following 278635 at main

Ross Kirsling noreply at github.com
Sat May 11 04:04:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4580b83827141b83a6625ee5527c4a9552e2c94
      https://github.com/WebKit/WebKit/commit/e4580b83827141b83a6625ee5527c4a9552e2c94
  Author: Ross Kirsling <rkirsling at gmail.com>
  Date:   2024-05-11 (Sat, 11 May 2024)

  Changed paths:
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+RawTypes.h

  Log Message:
  -----------
  Fix PlayStation build following 278635 at main
https://bugs.webkit.org/show_bug.cgi?id=274031

Unreviewed build fix.

278635 at main introduced the first usage of `consteval` into the codebase;
apparently this works correctly in clang 9-10 and clang 15+, but not in clang 11-14.

Presumably we should introduce a macro in Compiler.h to allow us to use `consteval` where possible,
but for the moment, this patch just fixes the build by reverting `consteval` to `constexpr`.

* Source/WebCore/css/parser/CSSPropertyParserConsumer+RawTypes.h:
(WebCore::computeMinimumValue):

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