[clang] Skip unretained-call-args.mm on platforms where builtin is not supported. (PR #131252)

Ryosuke Niwa via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 13 18:57:46 PDT 2025


https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/131252

None

>From ac2c87d6d5787b7d68487f97e6b00dc208ade79a Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa <rniwa at webkit.org>
Date: Thu, 13 Mar 2025 18:56:32 -0700
Subject: [PATCH] Skip unretained-call-args.mm on platforms where builtin is
 not supported.

---
 clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm b/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
index 3411cbdf5aa9b..3ea701d23b518 100644
--- a/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
+++ b/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
@@ -1,3 +1,4 @@
+// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}
 // RUN: %clang_analyze_cc1 -analyzer-checker=alpha.webkit.UnretainedCallArgsChecker -verify %s
 
 #include "objc-mock-types.h"



More information about the cfe-commits mailing list