Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 516523733ac601a319c4170ca81f6f79d84f7add
      
https://github.com/WebKit/WebKit/commit/516523733ac601a319c4170ca81f6f79d84f7add
  Author: Franco Vieira <[email protected]>
  Date:   2025-08-02 (Sat, 02 Aug 2025)

  Changed paths:
    M Source/WebCore/dom/make-event-names.py

  Log Message:
  -----------
  Fix clang build: type deduction hits nesting limit

Reviewed by Tim Nguyen.

Code generation produces the following, which triggers a nesting limit
on a clang build outside EWS:

// EventNames.cpp

static constexpr std::array eventStringInEventNames {
    ( . . . many entries . . . )
}

This causes "fatal error: instantiating fold expression with
324 arguments exceeded expression nesting limit of 256", as reported
on https://github.com/WebKit/WebKit/pull/48434#issuecomment-3146569956

The change explicitly provides the type and maximum size,
producing the following:

// EventNames.cpp:
static constexpr std::array<const AtomString EventNames::*, 326 > 
eventStringInEventNames {
    ( . . . up to 326 entries . . . )
}

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to