[webkit-dev] None Suffix in PAL

Ryosuke Niwa rniwa at webkit.org
Fri Aug 11 12:09:07 PDT 2017


It looks like we've started suffixing platform-independent / generic /
empty implementations inside PAL with *None.cpp as seen in:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/PAL/pal/text/KillRingNone.cpp
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/PAL/pal/system/SoundNone.cpp

Normally, we either not suffix these files:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/PlatformEvent.cpp

or suffix with Generic.cpp:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/ClockGeneric.cpp

I'd suggest not having any suffix when it's empty stub and suffix it
with Generic when it's a generic implementation some platforms in the
accordance with the existing convention.

- R. Niwa


More information about the webkit-dev mailing list