[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-03 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/4002 Here is the relevant piece

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/142484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor updated https://github.com/llvm/llvm-project/pull/142484 >From 7e09fb18fc370e66b8d346bb50d11bedd564c1a5 Mon Sep 17 00:00:00 2001 From: Andy Kaylor Date: Mon, 2 Jun 2025 13:33:34 -0700 Subject: [PATCH 1/2] [CIR] Support inline C++ member function definitions This c

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread Andy Kaylor via cfe-commits
@@ -0,0 +1,72 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll +// RUN: FileCheck --chec

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread Andy Kaylor via cfe-commits
@@ -0,0 +1,72 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll +// RUN: FileCheck --chec

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

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

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

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

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor created https://github.com/llvm/llvm-project/pull/142484 This change upstreams the code to support emitting inline C++ function definitions, including the ASTConsumer handler for inline definitions and the code to load the 'this' pointer. This necessitates introd

[clang] [CIR] Support inline C++ member function definitions (PR #142484)

2025-06-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir @llvm/pr-subscribers-clang Author: Andy Kaylor (andykaylor) Changes This change upstreams the code to support emitting inline C++ function definitions, including the ASTConsumer handler for inline definitions and the code to load the 'this' poi