summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-25 16:59:59 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-25 16:59:59 +0000
commit09a1e3e4998c5e912ff073d29d7751cda51f4715 (patch)
treef2cf33ad3698c2a2edac0a3e9f8befdf0018d1c3
parentd2829e1ea68288105d5520baac368120bda00353 (diff)
downloadclang-tools-extra-09a1e3e4998c5e912ff073d29d7751cda51f4715.tar.gz
Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@261897 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/clang-tidy/modernize-deprecated-headers-cxx03.cpp1
-rw-r--r--test/clang-tidy/modernize-deprecated-headers-cxx11.cpp1
-rw-r--r--test/lit.cfg6
3 files changed, 0 insertions, 8 deletions
diff --git a/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp b/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp
index 74659607..e1588ab3 100644
--- a/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp
+++ b/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp
@@ -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>
diff --git a/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp b/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp
index 8b31a40e..d798880b 100644
--- a/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp
+++ b/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp
@@ -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>
diff --git a/test/lit.cfg b/test/lit.cfg
index 3220831c..5344e391 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -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(