[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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user