[clang] [libclang/python] Fix some minor typos (PR #74292)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 4 01:09:06 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Craig Hesling (linux4life798)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/74292.diff
2 Files Affected:
- (modified) clang/bindings/python/README.txt (+1-1)
- (modified) clang/bindings/python/clang/cindex.py (+1-1)
``````````diff
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
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.
"""
``````````
</details>
https://github.com/llvm/llvm-project/pull/74292
More information about the cfe-commits
mailing list