Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893.

llvm-svn: 261897
This commit is contained in:
NAKAMURA Takumi
2016-02-25 16:59:59 +00:00
parent 21dc2c25e7
commit be16bbc925
3 changed files with 0 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++03 -v
// REQUIRES: target-headers
#include <assert.h>
#include <complex.h>

View File

@@ -1,5 +1,4 @@
// RUN: %check_clang_tidy %s modernize-deprecated-headers %t -- -extra-arg-before=-isystem%S/Inputs/modernize-deprecated-headers -- -std=c++11 -v
// REQUIRES: target-headers
#include <assert.h>
#include <complex.h>

View File

@@ -189,12 +189,6 @@ if not platform.system() in ['Windows'] or not execute_external:
if platform.system() not in ['Windows']:
config.available_features.add('ansi-escape-sequences')
# Set if default-target's system headers available.
# For example in general, MS headers are supposed unavailable on non-Windows hosts.
# FIXME: It should be probable for cross compilations.
if not (platform.system() not in ['Windows'] and re.match(r'.*-win32$', config.target_triple)):
config.available_features.add('target-headers')
check_clang_tidy = os.path.join(
config.test_source_root, "clang-tidy", "check_clang_tidy.py")
config.substitutions.append(