From fb4035f4403005ad400e98a0f1f6f527a26a1658 Mon Sep 17 00:00:00 2001 From: dmaclach Date: Sun, 11 Nov 2018 10:46:22 -0800 Subject: Deprecate GTMRegex. Use NSRegularExpression instead. (#184) --- Foundation/GTMRegex.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Foundation/GTMRegex.m') diff --git a/Foundation/GTMRegex.m b/Foundation/GTMRegex.m index 957b9ce..5649156 100644 --- a/Foundation/GTMRegex.m +++ b/Foundation/GTMRegex.m @@ -20,6 +20,10 @@ #import "GTMRegex.h" #import "GTMDefines.h" +#pragma clang diagnostic push +// Ignore all of the deprecation warnings for GTMRegex +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + // This is the pattern to use for walking replacement text when doing // substitutions. // @@ -796,3 +800,5 @@ static NSString *const kReplacementPattern = } @end + +#pragma clang diagnostic push -- cgit v1.2.3