[clang] a76d840 - [clang] Add triple to builtin-memcpy test

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 23 23:18:41 PDT 2023


Author: Timm Bäder
Date: 2023-10-24T08:18:22+02:00
New Revision: a76d840073134e15f31e21e70ac3512ee1f4d2f3

URL: https://github.com/llvm/llvm-project/commit/a76d840073134e15f31e21e70ac3512ee1f4d2f3
DIFF: https://github.com/llvm/llvm-project/commit/a76d840073134e15f31e21e70ac3512ee1f4d2f3.diff

LOG: [clang] Add triple to builtin-memcpy test

This is broken on Windows builders, so try to fix it that way.

Added: 
    

Modified: 
    clang/test/Sema/builtin-memcpy.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/builtin-memcpy.c b/clang/test/Sema/builtin-memcpy.c
index 953ebddb9c8df92..2a55e78034a02fe 100644
--- a/clang/test/Sema/builtin-memcpy.c
+++ b/clang/test/Sema/builtin-memcpy.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 %s -fsyntax-only -verify=c
-// RUN: %clang_cc1 -x c++ %s -fsyntax-only -verify=cxx
+// RUN: %clang_cc1 %s -triple x86_64-unknown-linux -fsyntax-only -verify=c
+// RUN: %clang_cc1 -x c++ %s -triple x86_64-unknown-linux -fsyntax-only -verify=cxx
 
 // cxx-no-diagnostics
 


        


More information about the cfe-commits mailing list