[clang] [Clang] fix static operator()/[] call not evaluating object (PR #78356)

A. Jiang via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 23:16:43 PST 2024


================
@@ -598,3 +600,27 @@ namespace B {
 }
 void g(B::X x) { A::f(x); }
 }
+
+namespace static_operator {
+#if __cplusplus >= 201703L
----------------
frederick-vs-ja wrote:

Why C++17?

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


More information about the cfe-commits mailing list