[clang] 2b0a708 - [Clang] Set target in test (#110068)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 25 18:48:29 PDT 2024
Author: Sirraide
Date: 2024-09-26T03:48:26+02:00
New Revision: 2b0a708f41dd6291ee744704d43febc975e3d026
URL: https://github.com/llvm/llvm-project/commit/2b0a708f41dd6291ee744704d43febc975e3d026
DIFF: https://github.com/llvm/llvm-project/commit/2b0a708f41dd6291ee744704d43febc975e3d026.diff
LOG: [Clang] Set target in test (#110068)
I forgot to set the target for a test that uses the `preserve_most` cc
and it’s breaking the bots.
Added:
Modified:
clang/test/SemaCXX/lambda-attributes.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaCXX/lambda-attributes.cpp b/clang/test/SemaCXX/lambda-attributes.cpp
index 799649719cf42b..97d23053b0f46a 100644
--- a/clang/test/SemaCXX/lambda-attributes.cpp
+++ b/clang/test/SemaCXX/lambda-attributes.cpp
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 -std=c++23 -fsyntax-only -verify %s
-// RUN: %clang_cc1 -std=c++23 -fsyntax-only -ast-dump %s | FileCheck %s
-// RUN: %clang_cc1 -std=c++23 -triple x86_64-pc-linux -emit-pch -o %t %s
-// RUN: %clang_cc1 -x c++ -std=c++23 -triple x86_64-pc-linux -include-pch %t -ast-dump-all /dev/null | FileCheck %s
+// RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-linux -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-linux -fsyntax-only -ast-dump %s | FileCheck %s
+// RUN: %clang_cc1 -std=c++23 -triple x86_64-unknown-linux -emit-pch -o %t %s
+// RUN: %clang_cc1 -x c++ -std=c++23 -triple x86_64-unknown-linux -include-pch %t -ast-dump-all /dev/null | FileCheck %s
// expected-no-diagnostics
// Check that we both don't crash on transforming FunctionProtoType's
More information about the cfe-commits
mailing list