aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMRegex.m
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-11 10:46:22 -0800
committerGravatar GitHub <noreply@github.com>2018-11-11 10:46:22 -0800
commitfb4035f4403005ad400e98a0f1f6f527a26a1658 (patch)
tree621e6eb788574743ea1759b9d63aa4eae186657b /Foundation/GTMRegex.m
parent1507eb202cf007c7788d220a1f319d88b8709d6b (diff)
Deprecate GTMRegex. Use NSRegularExpression instead. (#184)
Diffstat (limited to 'Foundation/GTMRegex.m')
-rw-r--r--Foundation/GTMRegex.m6
1 files changed, 6 insertions, 0 deletions
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