1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[clang/llvm] As part of using inclusive language within

the llvm project, migrate away from the use of blacklist and whitelist.
This commit is contained in:
Eric Christopher 2020-06-20 16:02:27 -07:00
parent 099d3a7710
commit 60377c3da8
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ TEST_F(SpecialCaseListTest, EmptySpecialCaseList) {
EXPECT_FALSE(SCL->inSection("", "foo", "bar")); EXPECT_FALSE(SCL->inSection("", "foo", "bar"));
} }
TEST_F(SpecialCaseListTest, MultipleBlacklists) { TEST_F(SpecialCaseListTest, MultipleExclusions) {
std::vector<std::string> Files; std::vector<std::string> Files;
Files.push_back(makeSpecialCaseListFile("src:bar\n" Files.push_back(makeSpecialCaseListFile("src:bar\n"
"src:*foo*\n" "src:*foo*\n"

View File

@ -345,7 +345,7 @@
#if GTEST_LANG_CXX11 && \ #if GTEST_LANG_CXX11 && \
(!defined(__GLIBCXX__) || ( \ (!defined(__GLIBCXX__) || ( \
__GLIBCXX__ >= 20110325ul && /* GCC >= 4.6.0 */ \ __GLIBCXX__ >= 20110325ul && /* GCC >= 4.6.0 */ \
/* Blacklist of patch releases of older branches: */ \ /* Exclude patch releases of older branches: */ \
__GLIBCXX__ != 20110416ul && /* GCC 4.4.6 */ \ __GLIBCXX__ != 20110416ul && /* GCC 4.4.6 */ \
__GLIBCXX__ != 20120313ul && /* GCC 4.4.7 */ \ __GLIBCXX__ != 20120313ul && /* GCC 4.4.7 */ \
__GLIBCXX__ != 20110428ul && /* GCC 4.5.3 */ \ __GLIBCXX__ != 20110428ul && /* GCC 4.5.3 */ \