Skip to content

Commit 14c5af3

Browse files
mordanteldionne
andauthored
Update libcxx/utils/generate_feature_test_macro_components.py
Co-authored-by: Louis Dionne <[email protected]>
1 parent 72954e1 commit 14c5af3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libcxx/utils/generate_feature_test_macro_components.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,10 +2213,8 @@ def is_implemented(self, ftm: Ftm, std: Std) -> bool:
22132213
"""Has the FTM `ftm` been implemented in the dialect `std`?"""
22142214

22152215
# When a paper for C++20 has not been implemented in libc++, then there will be no
2216-
# FTM entry in implemented_ftms for C++23 and later.
2217-
#
2218-
# Typically standard_ftms is not used with invalid values in the code, but
2219-
# guard just in case.
2216+
# FTM entry in implemented_ftms for C++23 and later. Similarly, a paper like <format>
2217+
# has no entry in standard_ftms for e.g. C++11.
22202218
if not std in self.implemented_ftms[ftm].keys() or not std in self.standard_ftms[ftm].keys():
22212219
return False
22222220

0 commit comments

Comments
 (0)