[K/N] Add workaround for NS_FORMAT_ARGUMENT(A)

See KT-48807 for explanation
This commit is contained in:
Sergey Bogolepov
2022-08-25 12:10:30 +03:00
parent 5c1641430c
commit 5f847ac40d
2 changed files with 4 additions and 5 deletions
@@ -9,11 +9,7 @@
#include <functional>
// Workaround from https://youtrack.jetbrains.com/issue/KT-48807#focus=Comments-27-5210791.0-0
// TODO: remove this once our clang supports NSAttributedString as a valid return from the formatter function.
#define NS_FORMAT_ARGUMENT(x)
#import <UIKit/UIApplication.h>
#undef NS_FORMAT_ARGUMENT
#include "CompilerConstants.hpp"
#include "objc_support/NSNotificationSubscription.hpp"