Skip to content

Conversation

oontvoo
Copy link
Member

@oontvoo oontvoo commented Sep 17, 2025

No description provided.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Sep 17, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 17, 2025

@llvm/pr-subscribers-clang

Author: Vy Nguyen (oontvoo)

Changes

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 --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
-

@oontvoo oontvoo merged commit 87bceae into llvm:main Sep 17, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants