Skip to content

Commit af2ea18

Browse files
committed
[lldb] Import Foundation in TestConflictingDefinition.py
We need to import foundation to get a 'NSLog' declaration when building against the iOS SDK. This doesn't appear necessary when building against the macOS SDK, presumable because it gets transitively imported by objc/NSObject.h
1 parent 8843245 commit af2ea18

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lldb/test/API/lang/objc/conflicting-definition/Test/Test.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#import <Foundation/Foundation.h>
2+
13
#import "Test.h"
24

35
@implementation Test

lldb/test/API/lang/objc/conflicting-definition/TestExt/TestExt.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#import <Foundation/Foundation.h>
2+
13
#import "TestExt.h"
24
#import "Foo.h"
35

0 commit comments

Comments
 (0)