Skip to content

Commit

Permalink
Suppress documentation warnings when using external libraries (#1401)
Browse files Browse the repository at this point in the history
Fixes 1400
  • Loading branch information
bolsinga authored and garrettmoon committed Mar 13, 2019
1 parent 96a7723 commit 9d77ef9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/ASSnapshotTestCase.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
//

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#import <FBSnapshotTestCase/FBSnapshotTestCase.h>
#pragma clang diagnostic pop

#import "ASDisplayNodeTestsHelper.h"

@class ASDisplayNode;
Expand Down
3 changes: 3 additions & 0 deletions Tests/ASTableViewTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
//

#import <XCTest/XCTest.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#import <JGMethodSwizzler/JGMethodSwizzler.h>
#pragma clang diagnostic pop

#import <AsyncDisplayKit/AsyncDisplayKit.h>
#import <AsyncDisplayKit/ASTableView.h>
Expand Down
3 changes: 3 additions & 0 deletions Tests/ASTextKitTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"
#import <FBSnapshotTestCase/FBSnapshotTestController.h>
#pragma clang diagnostic pop

#import <AsyncDisplayKit/ASTextKitAttributes.h>

Expand Down

0 comments on commit 9d77ef9

Please sign in to comment.