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

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 27 12:15:23 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Michael Buch (Michael137)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/165298.diff


1 Files Affected:

- (removed) clang/test/DebugInfo/ObjC/property-2.m (-18) 


``````````diff
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;
-}

``````````

</details>


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


More information about the cfe-commits mailing list