Skip to content

Commit fa5cbcf

Browse files
mordanteldionne
andcommitted
Update libcxx/utils/generate_feature_test_macro_components.py
Co-authored-by: Louis Dionne <[email protected]>
1 parent 2acdac5 commit fa5cbcf

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
@@ -2211,10 +2211,8 @@ def is_implemented(self, ftm: Ftm, std: Std) -> bool:
22112211
"""Has the FTM `ftm` been implemented in the dialect `std`?"""
22122212

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

0 commit comments

Comments
 (0)