diff options
Diffstat (limited to 'test/SemaObjC/format-strings-system.h')
-rw-r--r-- | test/SemaObjC/format-strings-system.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/SemaObjC/format-strings-system.h b/test/SemaObjC/format-strings-system.h new file mode 100644 index 0000000..73b7768 --- /dev/null +++ b/test/SemaObjC/format-strings-system.h @@ -0,0 +1,10 @@ + +#pragma clang system_header + +@class NSString; + +// Do not emit warnings when using NSLocalizedString +extern NSString *GetLocalizedString(NSString *str); +#define NSLocalizedString(key) GetLocalizedString(key) + +#define NSAssert(fmt, arg) NSLog(fmt, arg, 0, 0) |