[lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC)

When referencing `NSObject`, it's enough to import `objc/NSObject.h`. Importing `Foundation` is unnecessary in these cases.

Differential Revision: https://reviews.llvm.org/D99867
This commit is contained in:
Dave Lee
2021-04-04 14:52:26 -07:00
parent 10ed479d73
commit d1a1798e51
32 changed files with 34 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
#import <Foundation/Foundation.h>
#import <objc/NSObject.h>
class Base {
public:

View File

@@ -1,8 +1,5 @@
OBJC_SOURCES := main.m
CFLAGS_EXTRAS := -w
LD_EXTRAS := -lobjc
LD_EXTRAS := -framework Foundation
include Makefile.rules

View File

@@ -1,4 +1,4 @@
#import <Foundation/Foundation.h>
#import <objc/NSObject.h>
@interface Foo: NSObject
{}