https://github.com/Sirraide created 
https://github.com/llvm/llvm-project/pull/156498

The name mangling on Mac OS is causing one of the AST dump tests added by 
#152870 to fail; fix this by setting the triple to linux.

>From f4c99837bb8ecfd430af23427eea2f9d53122758 Mon Sep 17 00:00:00 2001
From: Sirraide <aeternalm...@gmail.com>
Date: Tue, 2 Sep 2025 19:19:19 +0200
Subject: [PATCH] [Clang] Fix AST dump test on Mac OS

---
 clang/test/AST/ast-dump-labeled-break-continue-json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/AST/ast-dump-labeled-break-continue-json.c 
b/clang/test/AST/ast-dump-labeled-break-continue-json.c
index 19f8ff300a187..bddc6d160f036 100644
--- a/clang/test/AST/ast-dump-labeled-break-continue-json.c
+++ b/clang/test/AST/ast-dump-labeled-break-continue-json.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -std=c2y -ast-dump=json -ast-dump-filter Test %s | 
FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -std=c2y -ast-dump=json 
-ast-dump-filter Test %s | FileCheck %s
 
 void TestLabeledBreakContinue() {
   a: while (true) {

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to