[clang] [Clang] Only compare template params of potential overload after checking their decl context (PR #78139)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 00:03:14 PST 2024


================
@@ -0,0 +1,28 @@
+// From https://github.com/llvm/llvm-project/issues/77953
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// RUN: split-file %s %t
+
+// RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/a.cppm -o %t/a.pcm
+// RUN: %clang_cc1 -std=c++20 -fmodule-file=a=%t/a.pcm %t/b.cppm
----------------
cor3ntin wrote:

Good catch, thanks!

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


More information about the cfe-commits mailing list