[Lldb-commits] [PATCH] D99859: [lldb] Import ObjectiveC module instead of Foundation in test (NFC)

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Apr 4 20:04:51 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG10ed479d7303: [lldb] Import ObjectiveC module instead of Foundation in test (authored by kastiglione).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99859/new/

https://reviews.llvm.org/D99859

Files:
  lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
  lldb/test/API/lang/objc/modules-app-update/foo.m


Index: lldb/test/API/lang/objc/modules-app-update/foo.m
===================================================================
--- lldb/test/API/lang/objc/modules-app-update/foo.m
+++ lldb/test/API/lang/objc/modules-app-update/foo.m
@@ -1,4 +1,4 @@
- at import Foundation;
+ at import ObjectiveC;
 @import Foo;
 @implementation Foo
 +(instancetype)init {
Index: lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
===================================================================
--- lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
+++ lldb/test/API/lang/objc/modules-app-update/TestClangModulesAppUpdate.py
@@ -20,7 +20,7 @@
                     """)
         with open(self.getBuildArtifact("f.h"), "w") as f:
             f.write("""
-                    @import Foundation;
+                    @import ObjectiveC;
                     @interface Foo : NSObject {
                        int i;
                     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99859.335190.patch
Type: text/x-patch
Size: 959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210405/97071512/attachment.bin>


More information about the lldb-commits mailing list