[clang] [CIR] Upstream simple function bodies (PR #127674)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 18 12:00:33 PST 2025
================
@@ -0,0 +1,53 @@
+// Simple functions
+// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o - | FileCheck %s
+
+void empty() { }
+// CHECK: cir.func @empty() -> !cir.void {
----------------
andykaylor wrote:
Why aren't the function names mangled?
https://github.com/llvm/llvm-project/pull/127674
More information about the cfe-commits
mailing list