[clang] Reland [C++20] [Modules] Don't profiling the callee of CXXFoldExpr (#190732) (PR #195983)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Thu May 7 19:06:37 PDT 2026


================
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
+
+template <typename... T> requires ((sizeof(T) > 0) && ...) void f() {} // expected-note{{previous definition is here}}
+class A;
+void operator&&(A, A);
+template <typename... T> requires ((sizeof(T) > 0) && ...) void f() {} // expected-error{{redefinition of 'f'}}
----------------
mizvekov wrote:

Our convention for such tests is to name them as the GitHub issue.

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


More information about the cfe-commits mailing list