From: Craig Topper Date: Thu, 12 Oct 2017 02:06:17 +0000 (+0000) Subject: [X86] Remove a few unnecessary check lines from the predefined-arch-macros test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31035d0847d5d918b83e69183d0cd170d69fa5e2;p=clang [X86] Remove a few unnecessary check lines from the predefined-arch-macros test. These were testing OS macros and clang/llvm macros. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315547 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/predefined-arch-macros.c b/test/Preprocessor/predefined-arch-macros.c index aba0665b65..55e5b4a222 100644 --- a/test/Preprocessor/predefined-arch-macros.c +++ b/test/Preprocessor/predefined-arch-macros.c @@ -1011,20 +1011,12 @@ // CHECK_GLM_M32: #define __XSAVEOPT__ 1 // CHECK_GLM_M32: #define __XSAVES__ 1 // CHECK_GLM_M32: #define __XSAVE__ 1 -// CHECK_GLM_M32: #define __clang__ 1 // CHECK_GLM_M32: #define __goldmont 1 // CHECK_GLM_M32: #define __goldmont__ 1 // CHECK_GLM_M32: #define __i386 1 // CHECK_GLM_M32: #define __i386__ 1 -// CHECK_GLM_M32: #define __linux 1 -// CHECK_GLM_M32: #define __linux__ 1 -// CHECK_GLM_M32: #define __llvm__ 1 // CHECK_GLM_M32: #define __tune_goldmont__ 1 -// CHECK_GLM_M32: #define __unix 1 -// CHECK_GLM_M32: #define __unix__ 1 // CHECK_GLM_M32: #define i386 1 -// CHECK_GLM_M32: #define linux 1 -// CHECK_GLM_M32: #define unix 1 // // RUN: %clang -march=goldmont -m64 -E -dM %s -o - 2>&1 \ // RUN: -target i386-unknown-linux \ @@ -1049,19 +1041,11 @@ // CHECK_GLM_M64: #define __XSAVEOPT__ 1 // CHECK_GLM_M64: #define __XSAVES__ 1 // CHECK_GLM_M64: #define __XSAVE__ 1 -// CHECK_GLM_M64: #define __gnu_linux__ 1 // CHECK_GLM_M64: #define __goldmont 1 // CHECK_GLM_M64: #define __goldmont__ 1 -// CHECK_GLM_M64: #define __linux 1 -// CHECK_GLM_M64: #define __linux__ 1 -// CHECK_GLM_M64: #define __llvm__ 1 // CHECK_GLM_M64: #define __tune_goldmont__ 1 -// CHECK_GLM_M64: #define __unix 1 -// CHECK_GLM_M64: #define __unix__ 1 // CHECK_GLM_M64: #define __x86_64 1 // CHECK_GLM_M64: #define __x86_64__ 1 -// CHECK_GLM_M64: #define linux 1 -// CHECK_GLM_M64: #define unix 1 // // RUN: %clang -march=slm -m32 -E -dM %s -o - 2>&1 \ // RUN: -target i386-unknown-linux \