[clang] [clang][DebugInfo][test] Remove redundant Objective-C property test (PR #165298)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 27 12:14:47 PDT 2025


https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/165298

We already have the same test (just different variable names) in `property-basic.m`.

>From 9596ce1a66dd5a06b1fc95c80966cc4871cd1c78 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Mon, 27 Oct 2025 19:11:53 +0000
Subject: [PATCH] [clang][DebugInfo][test] Remove redundant Objective-C
 property test

We already have the same test (just different variable names) in `property-basic.m`.
---
 clang/test/DebugInfo/ObjC/property-2.m | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 clang/test/DebugInfo/ObjC/property-2.m

diff --git a/clang/test/DebugInfo/ObjC/property-2.m b/clang/test/DebugInfo/ObjC/property-2.m
deleted file mode 100644
index f15213131ccc0..0000000000000
--- a/clang/test/DebugInfo/ObjC/property-2.m
+++ /dev/null
@@ -1,18 +0,0 @@
-// FIXME: Check IR rather than asm, then triple is not needed.
-// RUN: %clang_cc1 -triple %itanium_abi_triple -S -debug-info-kind=limited -x objective-c < %s | grep DW_AT_name
- at interface Foo {
-  int i;
-}
- at property int i;
- at end
-
- at implementation Foo
- at synthesize i;
- at end
-
-int bar(Foo *f) {
-  int i = 1;
-  f.i = 2;
-  i = f.i;
-  return i;
-}



More information about the cfe-commits mailing list