Author: erichkeane Date: 2025-07-09T06:18:49-07:00 New Revision: 380954b26f64cb31da028d355941a394a3d0dacc
URL: https://github.com/llvm/llvm-project/commit/380954b26f64cb31da028d355941a394a3d0dacc DIFF: https://github.com/llvm/llvm-project/commit/380954b26f64cb31da028d355941a394a3d0dacc.diff LOG: Fix test failure introduced in ab187bb This patch, #147285 introduced a test that used preserve_none/preserve_all/preserve_most for the purposes of validating its ast-dump. However, this attribute isn't supported on some platforms, so this patch adds a triple to the test to ensure we try to run it as a non-supported platform. As this is simply an ast-dump test, there is no value to running it on other configurations. Added: Modified: clang/test/AST/ast-print-cconv-preserve.cpp Removed: ################################################################################ diff --git a/clang/test/AST/ast-print-cconv-preserve.cpp b/clang/test/AST/ast-print-cconv-preserve.cpp index af12fe64b2278..1cb488a9cd455 100644 --- a/clang/test/AST/ast-print-cconv-preserve.cpp +++ b/clang/test/AST/ast-print-cconv-preserve.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -ast-print %s -o - | FileCheck %s +// RUN: %clang_cc1 -ast-print -triple x86_64-unknown-unknown %s -o - | FileCheck %s void (__attribute__((preserve_none)) *none)(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits