From 9c0926d77098eef405b6c7b50cb77c54c4e9d4fc Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 8 Mar 2019 01:15:18 +0000 Subject: [X86] Make x86-intrinsics-headers-clean.cpp stricter. Remove the -Wno-ignored-attributes. Add -fno-lax-vector-conversions Also use -ffreestanding instead of defining _MM_MALLOC_H. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355659 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Headers/x86-intrinsics-headers-clean.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'test/Headers/x86-intrinsics-headers-clean.cpp') diff --git a/test/Headers/x86-intrinsics-headers-clean.cpp b/test/Headers/x86-intrinsics-headers-clean.cpp index c75f0910f5..0a0679064c 100644 --- a/test/Headers/x86-intrinsics-headers-clean.cpp +++ b/test/Headers/x86-intrinsics-headers-clean.cpp @@ -1,14 +1,8 @@ // Make sure the intrinsic headers compile cleanly with no warnings or errors. -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wsystem-headers \ -// RUN: -fsyntax-only -x c++ -Wno-ignored-attributes -verify %s -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wsystem-headers \ -// RUN: -fsyntax-only -x c++ -Wno-ignored-attributes -target-feature +f16c \ -// RUN: -verify %s +// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -Wsystem-headers \ +// RUN: -fsyntax-only -fno-lax-vector-conversions -x c++ -verify %s // expected-no-diagnostics -// Dont' include mm_malloc.h. It's system specific. -#define __MM_MALLOC_H - #include -- cgit v1.2.3