[clang] 9f27364 - Use a more general test here.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 18 06:32:13 PDT 2021


Author: Aaron Ballman
Date: 2021-08-18T09:32:05-04:00
New Revision: 9f27364377a247cc779c11b1e1f220b20755982f

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

LOG: Use a more general test here.

The interesting bit about that triple isn't the architecture, it's the
fact that ps4 implies C99 as the standard rather than a newer C mode.
Specify the language standard rather than the triple so the test is a
bit more general.

Added: 
    

Modified: 
    clang/test/Lexer/unicode.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Lexer/unicode.c b/clang/test/Lexer/unicode.c
index 3d644887fab8..447f90c0c52a 100644
--- a/clang/test/Lexer/unicode.c
+++ b/clang/test/Lexer/unicode.c
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -x c -std=c11 %s
 // RUN: %clang_cc1 -fsyntax-only -verify -x c++ -std=c++11 %s
-// RUN: %clang_cc1 -triple x86_64-scei-ps4 -E -DPP_ONLY=1 %s | FileCheck %s --strict-whitespace
+// RUN: %clang_cc1 -std=c99 -E -DPP_ONLY=1 %s | FileCheck %s --strict-whitespace
 // RUN: %clang_cc1 -E -DPP_ONLY=1 %s | FileCheck %s --strict-whitespace
 
 // This file contains Unicode characters; please do not "fix" them!


        


More information about the cfe-commits mailing list