[NFC] Rename lit feature to '-fsized-deallocation' for consistency

The '-faligned-allocation' flag uses a feature with the same name (with a
leading dash).

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Louis Dionne
2018-11-21 00:03:17 +00:00
parent 7aa4878d6f
commit 739fdd4850
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
// NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation. // NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation.
// REQUIRES: fsized-deallocation // REQUIRES: -fsized-deallocation
// RUN: %build -fsized-deallocation // RUN: %build -fsized-deallocation
// RUN: %run // RUN: %run

View File

@@ -20,7 +20,7 @@
// XFAIL: availability_markup=macosx10.7 // XFAIL: availability_markup=macosx10.7
// NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation. // NOTE: Only clang-3.7 and GCC 5.1 and greater support -fsized-deallocation.
// REQUIRES: fsized-deallocation // REQUIRES: -fsized-deallocation
// RUN: %build -fsized-deallocation -O3 // RUN: %build -fsized-deallocation -O3
// RUN: %run // RUN: %run

View File

@@ -446,7 +446,7 @@ class Configuration(object):
# Run a compile test for the -fsized-deallocation flag. This is needed # Run a compile test for the -fsized-deallocation flag. This is needed
# in test/std/language.support/support.dynamic/new.delete # in test/std/language.support/support.dynamic/new.delete
if self.cxx.hasCompileFlag('-fsized-deallocation'): if self.cxx.hasCompileFlag('-fsized-deallocation'):
self.config.available_features.add('fsized-deallocation') self.config.available_features.add('-fsized-deallocation')
if self.cxx.hasCompileFlag('-faligned-allocation'): if self.cxx.hasCompileFlag('-faligned-allocation'):
self.config.available_features.add('-faligned-allocation') self.config.available_features.add('-faligned-allocation')