llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Vy Nguyen (oontvoo) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/159216.diff 1 Files Affected: - (modified) clang/test/Rewriter/objc-string-concat-1.m (+2-2) ``````````diff diff --git a/clang/test/Rewriter/objc-string-concat-1.m b/clang/test/Rewriter/objc-string-concat-1.m index 9a23abcc7ff97..8b88a5e8bbaf4 100644 --- a/clang/test/Rewriter/objc-string-concat-1.m +++ b/clang/test/Rewriter/objc-string-concat-1.m @@ -1,4 +1,5 @@ -// 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 +// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -Wno-incompatible-pointer-types %s -o - @class NSString; @@ -11,4 +12,3 @@ @interface NSConstantString; NSConstantString *t = @"123" @"4567"; // concat NSConstantString *t1 = @"123" @"4567" /* COMMENT */ @"89"; // concat NSConstantString *t2 = @"123" @/* COMMENT */ "4567"; // concat - `````````` </details> https://github.com/llvm/llvm-project/pull/159216 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
