mirror of
https://github.com/python/cpython.git
synced 2026-02-20 14:21:22 +00:00
Clang versions prior to 10 (which corresponds to Apple Clang 12) do not
support the GCC extension syntax __attribute__((fallthrough)), but do
evaluate __has_attribute(fallthrough) to 1 because they support the
C++11 style syntax [[fallthrough]]. The only way to tell if the GCC
style syntax is supported is thus to check the clang version.
Ref:
|
||
|---|---|---|
| .. | ||
| 2025-01-16-03-35-37.gh-issue-128902.Dt7xtV.rst | ||
| README.rst | ||
Put news entry `blurb`_ files for the *Build* section in this directory. .. _blurb: https://pypi.org/project/blurb/