mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893.
llvm-svn: 261897
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user