[clang] [CIR] Fix calling defined functions (PR #137271)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 25 06:32:42 PDT 2025
================
@@ -1,19 +1,20 @@
// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o - 2>&1 | FileCheck %s
-void f1();
+void f1() {}
void f2() {
f1();
}
-// CHECK-LABEL: cir.func @_Z2f1v
+// CHECK-LABEL: cir.func @_Z2f1v
----------------
erichkeane wrote:
Is the leading spaces weird here?
https://github.com/llvm/llvm-project/pull/137271
More information about the cfe-commits
mailing list