aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMRegex.m
diff options
context:
space:
mode:
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