forked from OSchip/llvm-project
check-clang: Introduce the feature "non-ms-sdk" to suppress Driver/nostdincxx.cpp on msvc.
llvm-svn: 201484
This commit is contained in:
parent
d7a60046d3
commit
0884887775
|
@ -1,4 +1,6 @@
|
|||
// RUN: not %clangxx -nostdinc++ %s 2>&1 | FileCheck %s
|
||||
// XFAIL: win32
|
||||
// CHECK: file not found
|
||||
#include <vector>
|
||||
|
||||
// MSVC has C++ headers in same directory as C headers.
|
||||
// REQUIRES: non-ms-sdk
|
||||
|
|
|
@ -340,6 +340,10 @@ if os.path.exists("/dev/fd/0") and sys.platform not in ['cygwin']:
|
|||
if not re.match(r'.*-win32$', config.target_triple):
|
||||
config.available_features.add('dw2')
|
||||
|
||||
# Not set on native MS environment.
|
||||
if not re.match(r'.*-win32$', config.target_triple):
|
||||
config.available_features.add('non-ms-sdk')
|
||||
|
||||
# [PR8833] LLP64-incompatible tests
|
||||
if not re.match(r'^x86_64.*-(win32|mingw32)$', config.target_triple):
|
||||
config.available_features.add('LP64')
|
||||
|
|
Loading…
Reference in New Issue