[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor closed https://github.com/llvm/llvm-project/pull/143029 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor updated https://github.com/llvm/llvm-project/pull/143029 >From be47b607dca53dce1904cdf1a6316f97454ede7a Mon Sep 17 00:00:00 2001 From: Andy Kaylor Date: Wed, 4 Jun 2025 15:55:51 -0700 Subject: [PATCH 1/2] [CIR] Add decl case for template specialization This change

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Erich Keane via cfe-commits
@@ -0,0 +1,88 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-llvm %s -o

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Erich Keane via cfe-commits
@@ -0,0 +1,88 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -fclangir -emit-llvm %s -o

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/143029 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. 2 nits, else lgtm. https://github.com/llvm/llvm-project/pull/143029 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clangir Author: Andy Kaylor (andykaylor) Changes This change adds the switch case to allow template specialization to pass through emitTopLevelDecl without issuing an error. --- Full diff: https://github.com/llvm/llvm-project

[clang] [CIR] Add decl case for template specialization (PR #143029)

2025-06-05 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor created https://github.com/llvm/llvm-project/pull/143029 This change adds the switch case to allow template specialization to pass through emitTopLevelDecl without issuing an error. >From be47b607dca53dce1904cdf1a6316f97454ede7a Mon Sep 17 00:00:00 2001 From: Andy