Cleanup use of possibly offensive language (#13634)

See: #13626
This commit is contained in:
Sam Clegg 2021-03-10 10:19:02 -08:00 коммит произвёл GitHub
Родитель 3670f50681
Коммит 4a0712eb8d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -73,7 +73,7 @@ object ownership.
.. cpp:type:: allow_raw_pointers
This policy is used to whitelist raw pointers.
This policy is used to allow raw pointers.
.. cpp:type:: Transform::type

Просмотреть файл

@ -279,7 +279,7 @@ For example:
.. note::
Currently the markup serves only to whitelist raw pointer use, and
Currently the markup serves only to allow raw pointer use, and
show that you've thought about the use of the raw pointers. Eventually
we hope to implement `Boost.Python-like raw pointer policies`_ for
managing object ownership.

2
tests/test_core.py поставляемый
Просмотреть файл

@ -1249,7 +1249,7 @@ int main(int argc, char **argv)
size = len(open('test_exceptions_allowed.js').read())
shutil.copyfile('test_exceptions_allowed.js', 'orig.js')
# check that an empty whitelist works properly (as in, same as exceptions disabled)
# check that an empty allow list works properly (as in, same as exceptions disabled)
src = path_from_root('tests', 'core', 'test_exceptions_allowed.cpp')
empty_output = path_from_root('tests', 'core', 'test_exceptions_allowed_empty.out')

2
tests/test_other.py поставляемый
Просмотреть файл

@ -1963,7 +1963,7 @@ int f() {
expected = fix(expected)
self.assertIdentical(expected, js.replace('\r\n', '\n').replace('\n\n', '\n').replace('\n\n', '\n'))
if input not in [ # blacklist of tests that are native-optimizer only
if input not in [ # tests that are native-optimizer only
path_from_root('tests', 'optimizer', 'asmLastOpts.js'),
path_from_root('tests', 'optimizer', '3154.js')
]:

Просмотреть файл

@ -23,7 +23,7 @@ def generate(env, emscripten_path=None, **kw):
for var in ['EM_CACHE', 'EMCC_DEBUG', 'EMTEST_BROWSER',
'EMMAKEN_JUST_CONFIGURE', 'EMCC_CFLAGS', 'EMCC_TEMP_DIR',
'EMCC_AUTODEBUG', 'EM_COMPILER_WRAPPER',
'EMMAKEN_COMPILER', 'EMMAKEN_CFLAGS', 'EMCC_JSOPT_BLACKLIST',
'EMMAKEN_COMPILER', 'EMMAKEN_CFLAGS',
'MOZ_DISABLE_AUTO_SAFE_MODE', 'EMCC_STDERR_FILE',
'EMSCRIPTEN_SUPPRESS_USAGE_WARNING', 'NODE_PATH', 'EMCC_JSOPT_MIN_CHUNK_SIZE',
'EMCC_JSOPT_MAX_CHUNK_SIZE', 'EMCC_SAVE_OPT_TEMP', 'EMCC_CORES', 'EMCC_NO_OPT_SORT',