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

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 08:59:59 PST 2016


Author: chapuni
Date: Thu Feb 25 10:59:59 2016
New Revision: 261897

URL: http://llvm.org/viewvc/llvm-project?rev=261897&view=rev
Log:
Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp
    clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp
    clang-tools-extra/trunk/test/lit.cfg

Modified: clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp?rev=261897&r1=261896&r2=261897&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx03.cpp Thu Feb 25 10:59:59 2016
@@ -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>

Modified: clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp?rev=261897&r1=261896&r2=261897&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/modernize-deprecated-headers-cxx11.cpp Thu Feb 25 10:59:59 2016
@@ -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>

Modified: clang-tools-extra/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/lit.cfg?rev=261897&r1=261896&r2=261897&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/lit.cfg (original)
+++ clang-tools-extra/trunk/test/lit.cfg Thu Feb 25 10:59:59 2016
@@ -189,12 +189,6 @@ if not platform.system() in ['Windows']
 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(




More information about the cfe-commits mailing list