[clang] [Clang] Implement CWG2918 'Consideration of constraints for address of overloaded function' (PR #127773)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 04:23:58 PST 2025


================
@@ -60,6 +60,90 @@ struct S {
 #endif
 } // namespace cwg2917
 
+namespace cwg2918 { // cwg2918: 21
+
+#if __cplusplus >= 202002L
----------------
zyn0217 wrote:

Done. Now it tests `Example3` in C++11 onwards
(Example 1 contains constraint expressions so it needs c++20)

https://github.com/llvm/llvm-project/pull/127773


More information about the cfe-commits mailing list