Skip to content

Commit cda1c9e

Browse files
committed
squelch some boring warnings due to forwarding
1 parent 15aa8ff commit cda1c9e

File tree

1 file changed

+39
-37
lines changed

1 file changed

+39
-37
lines changed

src/PBXReading/PBXObject.m

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
22
mulle-xcode-to-cmake
3-
3+
44
$Id: PBXObject.m,v cf43ff7e1447 2011/12/19 16:28:31 nat $
55
66
Created by Nat! on 26.12.10.
77
Copyright 2010 Mulle kybernetiK
8-
8+
99
This file is part of mulle-xcode-to-cmake.
1010
1111
mulle-xcode-to-cmake is free software: you can redistribute it and/or modify
@@ -27,6 +27,8 @@
2727
#import "NSString+KeyFromSetterSelector.h"
2828
#import "NSString+LeadingDotExpansion.h"
2929

30+
#pragma clang diagnostic ignored "-Wincomplete-implementation"
31+
3032

3133
@implementation PBXObject
3234

@@ -36,17 +38,17 @@ - (id) init
3638
abort();
3739
return( 0);
3840
}
39-
40-
41+
42+
4143
- (id) initWithProject:(PBXProject *) pbx
4244
{
4345
[super init];
44-
46+
4547
project_ = pbx;
46-
48+
4749
info_ = [NSMutableDictionary new];
4850
[self setIsa:NSStringFromClass( [self class])];
49-
51+
5052
return( self);
5153
}
5254

@@ -55,7 +57,7 @@ - (id) initWithPBXUnarchiver:(MullePBXUnarchiver *) coder
5557
project:(PBXProject *) pbx
5658
{
5759
[self initWithProject:pbx];
58-
60+
5961
info_ = [[coder infoForObject:self] mutableCopy];
6062

6163
return( self);
@@ -112,7 +114,7 @@ - (PBXProject *) project
112114
- (NSString *) name
113115
{
114116
NSString *s;
115-
117+
116118
s = [self objectForKey:@"name"];
117119
if( ! s)
118120
{
@@ -147,7 +149,7 @@ - (NSString *) debugDescription
147149
- (NSMethodSignature *) methodSignatureForSelector:(SEL) aSelector
148150
{
149151
NSString *s;
150-
152+
151153
s = NSStringFromSelector( aSelector);
152154
if( [s hasSuffix:@":"])
153155
{
@@ -163,7 +165,7 @@ - (void) forwardInvocation:(NSInvocation *) anInvocation
163165
{
164166
NSString *key;
165167
id value;
166-
168+
167169
key = NSStringFromSelector( [anInvocation selector]);
168170
if( [key hasSuffix:@":"] && [key hasPrefix:@"set"])
169171
{
@@ -177,7 +179,7 @@ - (void) forwardInvocation:(NSInvocation *) anInvocation
177179
forKey:key];
178180
return;
179181
}
180-
182+
181183
value = [self objectForKey:key];
182184
[anInvocation setReturnValue:&value];
183185
}
@@ -202,11 +204,11 @@ - (void) setCodecKey:(NSString *) s
202204
- (id) valueForKey:(NSString *) key
203205
{
204206
id value;
205-
207+
206208
value = [self objectForKey:key];
207209
if( value)
208210
return( value);
209-
211+
210212
return( [super valueForKey:key]);
211213
}
212214

@@ -224,7 +226,7 @@ - (NSString *) debugDescription
224226
- (NSString *) xcodeVirtualName
225227
{
226228
NSString *s;
227-
229+
228230
s = [self name];
229231
if( s)
230232
return( s);
@@ -253,7 +255,7 @@ - (NSString *) displayName
253255
@end
254256

255257

256-
@implementation PBXFileReference
258+
@implementation PBXFileReference
257259

258260
- (BOOL) includeInIndex
259261
{
@@ -281,7 +283,7 @@ - (int) headerType
281283
{
282284
NSDictionary *settings;
283285
NSArray *attributes;
284-
286+
285287
settings = [self objectForKey:@"settings"];
286288
attributes = [settings objectForKey:@"ATTRIBUTES"];
287289
if( [attributes containsObject:@"Private"])
@@ -306,20 +308,20 @@ - (BOOL) isPublic
306308
@end
307309

308310

309-
@implementation PBXGroup
311+
@implementation PBXGroup
310312

311313
- (NSString *) debugDescription
312314
{
313315
NSString *children;
314-
316+
315317
children = [[self subgroups] valueForKey:@"displayName"];
316318
return( [NSString stringWithFormat:@"<%@ %p: \"%@\" (%@)>", [self class], self, [self displayName], children]);
317319
}
318320

319321
@end
320322

321323

322-
@implementation PBXVariantGroup
324+
@implementation PBXVariantGroup
323325

324326
// hacks for Makefile production removed (so something will be broken there)
325327
//- (NSString *) sourceTreeRelativeFilesystemPath(PBXGroup *) group
@@ -336,20 +338,20 @@ @implementation PBXVariantGroup
336338
@end
337339

338340

339-
@implementation PBXContainerItemProxy
341+
@implementation PBXContainerItemProxy
340342

341343
- (void) forwardInvocation:(NSInvocation *) anInvocation
342344
{
343345
id value;
344-
346+
345347
value = [self objectForKey:@"containerPortal"];
346348
[anInvocation invokeWithTarget:value];
347349
}
348350

349351
@end
350352

351353

352-
@implementation PBXBuildPhase
354+
@implementation PBXBuildPhase
353355

354356
- (unsigned int) buildActionMask
355357
{
@@ -364,31 +366,31 @@ - (BOOL) runOnlyForDeploymentPostprocessing
364366
@end
365367

366368

367-
@implementation PBXFrameworksBuildPhase
369+
@implementation PBXFrameworksBuildPhase
368370
@end
369371

370372

371373
@implementation PBXHeadersBuildPhase
372374
@end
373375

374376

375-
@implementation PBXCopyFilesBuildPhase
377+
@implementation PBXCopyFilesBuildPhase
376378
@end
377379

378380

379-
@implementation PBXShellScriptBuildPhase
381+
@implementation PBXShellScriptBuildPhase
380382
@end
381383

382384

383-
@implementation PBXResourcesBuildPhase
385+
@implementation PBXResourcesBuildPhase
384386
@end
385387

386388

387-
@implementation PBXRezBuildPhase
389+
@implementation PBXRezBuildPhase
388390
@end
389391

390392

391-
@implementation PBXSourcesBuildPhase
393+
@implementation PBXSourcesBuildPhase
392394
@end
393395

394396

@@ -417,23 +419,23 @@ @implementation PBXTarget
417419
@end
418420

419421

420-
@implementation PBXNativeTarget
422+
@implementation PBXNativeTarget
421423
@end
422424

423425

424-
@implementation PBXAggregateTarget
426+
@implementation PBXAggregateTarget
425427
@end
426428

427429

428430
@implementation XCVersionGroup
429431
@end
430432

431433

432-
@implementation XCBuildConfiguration
434+
@implementation XCBuildConfiguration
433435
@end
434436

435437

436-
@implementation XCConfigurationList
438+
@implementation XCConfigurationList
437439

438440
- (BOOL) defaultConfigurationIsVisible
439441
{
@@ -443,11 +445,11 @@ - (BOOL) defaultConfigurationIsVisible
443445
@end
444446

445447

446-
@implementation PBXReferenceProxy
448+
@implementation PBXReferenceProxy
447449
@end
448450

449451

450-
@implementation PBXProject
452+
@implementation PBXProject
451453

452454
- (BOOL) hasScannedForEncodings
453455
{
@@ -464,11 +466,11 @@ - (PBXGroup *) rootGroup
464466
- (NSString *) absolutePath
465467
{
466468
NSString *path;
467-
469+
468470
if( ! absolutePath_)
469471
{
470472
path = path_;
471-
473+
472474
path = [path stringByResolvingWithWorkingDirectory];
473475
path = [path stringByExpandingTildeInPath];
474476
path = [path stringByStandardizingPath];

0 commit comments

Comments
 (0)