https://github.com/linux4life798 created https://github.com/llvm/llvm-project/pull/74292
None >From 22b357ace6de02e537b5fbc217febe8cd59ae40a Mon Sep 17 00:00:00 2001 From: Craig Hesling <cr...@hesling.com> Date: Sun, 3 Dec 2023 15:59:00 -0800 Subject: [PATCH 1/2] [libclang/python] Update README.txt path Update the path to the python binding dir in the llvm-project src tree. --- clang/bindings/python/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/bindings/python/README.txt b/clang/bindings/python/README.txt index b0f0142a56f11..44c715e5de56f 100644 --- a/clang/bindings/python/README.txt +++ b/clang/bindings/python/README.txt @@ -8,7 +8,7 @@ You may need to set CLANG_LIBRARY_PATH so that the Clang library can be found. The unit tests are designed to be run with any standard test runner. For example: -- -$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \ +$ env PYTHONPATH=$(echo ~/llvm/clang/bindings/python/) \ CLANG_LIBRARY_PATH=$(llvm-config --libdir) \ python -m unittest discover -v tests.cindex.test_index.test_create ... ok >From 58f73360a612e4c02658345c4710026fab6cdd86 Mon Sep 17 00:00:00 2001 From: Craig Hesling <cr...@hesling.com> Date: Sun, 3 Dec 2023 19:46:07 -0800 Subject: [PATCH 2/2] [libclang/python] Fix minor comment typo --- clang/bindings/python/clang/cindex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/bindings/python/clang/cindex.py b/clang/bindings/python/clang/cindex.py index 6a16f3a9ef6e9..d780ee353a133 100644 --- a/clang/bindings/python/clang/cindex.py +++ b/clang/bindings/python/clang/cindex.py @@ -535,7 +535,7 @@ def from_param(self): class FixIt(object): """ A FixIt represents a transformation to be applied to the source to - "fix-it". The fix-it shouldbe applied by replacing the given source range + "fix-it". The fix-it should be applied by replacing the given source range with the given value. """ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits