From 52118fcb46d83812591f38bbdba280f23b58d3fc Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 21 Nov 2018 00:03:17 +0000 Subject: [PATCH] [NFC] Rename lit feature to '-fsized-deallocation' for consistency The '-faligned-allocation' flag uses a feature with the same name (with a leading dash). llvm-svn: 347367 --- .../new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp | 2 +- .../new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp | 2 +- libcxx/utils/libcxx/test/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp index f71cf19..e02c594 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array_fsizeddeallocation.sh.cpp @@ -21,7 +21,7 @@ // 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: %run diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp index d5b610f..21ae889 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete_fsizeddeallocation.sh.cpp @@ -20,7 +20,7 @@ // XFAIL: availability_markup=macosx10.7 // 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: %run diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 62a1393..7467511 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -446,7 +446,7 @@ class Configuration(object): # Run a compile test for the -fsized-deallocation flag. This is needed # in test/std/language.support/support.dynamic/new.delete 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'): self.config.available_features.add('-faligned-allocation') -- 2.7.4