================
@@ -2208,6 +2209,20 @@ def implemented_ftms(self) -> Dict[Ftm, Dict[Std, 
Optional[Value]]]:
 
         return get_ftms(self.__data, self.std_dialects, True)
 
+    def is_implemented(self, ftm: Ftm, std: Std) -> bool:
+        """Has the FTM `ftm` been implemented in the dialect `std`?"""
+
+        # When a paper for C++20 has not been implemented in libc++, then 
there will be no
+        # FTM entry in implemented_ftms for C++23 and later.
+        #
+        # Typically standard_ftms is not used with invalid values in the code, 
but
+        # guard just in case.
----------------
ldionne wrote:

```suggestion
        # When a paper for C++20 has not been implemented in libc++, then there 
will be no
        # FTM entry in implemented_ftms for C++23 and later. Similarly, a paper 
like <format>
        # has no entry in standard_ftms for e.g. C++11.
```

https://github.com/llvm/llvm-project/pull/134538
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to