We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82acc31 commit 87bceaeCopy full SHA for 87bceae
clang/test/Rewriter/objc-string-concat-1.m
@@ -1,4 +1,5 @@
1
-// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
+// -Wno-incompatible-pointer-types is needed to disable warning triggered by assigning NSString to NSConstantString
2
+// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -Wno-incompatible-pointer-types %s -o -
3
4
@class NSString;
5
@@ -11,4 +12,3 @@ @interface NSConstantString;
11
12
NSConstantString *t = @"123" @"4567"; // concat
13
NSConstantString *t1 = @"123" @"4567" /* COMMENT */ @"89"; // concat
14
NSConstantString *t2 = @"123" @/* COMMENT */ "4567"; // concat
-
0 commit comments