From 9d77ef944fcc623aea51a9ddc698a92d49388f94 Mon Sep 17 00:00:00 2001 From: Greg Bolsinga Date: Wed, 13 Mar 2019 10:56:11 -0700 Subject: [PATCH] Suppress documentation warnings when using external libraries (#1401) Fixes 1400 --- Tests/ASSnapshotTestCase.h | 4 ++++ Tests/ASTableViewTests.mm | 3 +++ Tests/ASTextKitTests.mm | 3 +++ 3 files changed, 10 insertions(+) diff --git a/Tests/ASSnapshotTestCase.h b/Tests/ASSnapshotTestCase.h index 0741aaab5c..195e4b7918 100644 --- a/Tests/ASSnapshotTestCase.h +++ b/Tests/ASSnapshotTestCase.h @@ -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 +#pragma clang diagnostic pop + #import "ASDisplayNodeTestsHelper.h" @class ASDisplayNode; diff --git a/Tests/ASTableViewTests.mm b/Tests/ASTableViewTests.mm index 87e19329a5..7295b20ba5 100644 --- a/Tests/ASTableViewTests.mm +++ b/Tests/ASTableViewTests.mm @@ -8,7 +8,10 @@ // #import +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" #import +#pragma clang diagnostic pop #import #import diff --git a/Tests/ASTextKitTests.mm b/Tests/ASTextKitTests.mm index 0d807824e2..efd93cf809 100644 --- a/Tests/ASTextKitTests.mm +++ b/Tests/ASTextKitTests.mm @@ -10,7 +10,10 @@ #import #import +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" #import +#pragma clang diagnostic pop #import