[libcxx-commits] [libcxx] 20c6ddc - [libc++] Remove unused variables in generate_private_header_tests.py. NFCI.
Arthur O'Dwyer via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 28 19:28:56 PDT 2021
Author: Arthur O'Dwyer
Date: 2021-07-28T22:28:25-04:00
New Revision: 20c6ddc5bcc91aba6a5cccabae094d08301567fc
URL: https://github.com/llvm/llvm-project/commit/20c6ddc5bcc91aba6a5cccabae094d08301567fc
DIFF: https://github.com/llvm/llvm-project/commit/20c6ddc5bcc91aba6a5cccabae094d08301567fc.diff
LOG: [libc++] Remove unused variables in generate_private_header_tests.py. NFCI.
Added:
Modified:
libcxx/utils/generate_private_header_tests.py
Removed:
################################################################################
diff --git a/libcxx/utils/generate_private_header_tests.py b/libcxx/utils/generate_private_header_tests.py
index 10acb9214961c..12708c5b8cbf5 100755
--- a/libcxx/utils/generate_private_header_tests.py
+++ b/libcxx/utils/generate_private_header_tests.py
@@ -13,19 +13,16 @@ def get_libcxx_paths():
src_root = os.path.dirname(utils_path)
include_path = os.path.join(src_root, 'include')
assert os.path.exists(include_path)
- docs_path = os.path.join(src_root, 'docs')
- assert os.path.exists(docs_path)
detail_header_test_root = os.path.join(src_root, 'test', 'libcxx',
'diagnostics', 'detail.headers')
assert os.path.exists(detail_header_test_root)
shutil.rmtree(detail_header_test_root)
Path(f'{detail_header_test_root}').mkdir()
assert os.path.exists(detail_header_test_root)
- return script_name, src_root, include_path, docs_path, detail_header_test_root
+ return script_name, include_path, detail_header_test_root
-script_name, source_root, include_path, docs_path, detail_header_test_root = get_libcxx_paths(
-)
+script_name, include_path, detail_header_test_root = get_libcxx_paths()
def generate_test(header):
More information about the libcxx-commits
mailing list