diff options
| author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-07-18 17:26:57 +0000 |
|---|---|---|
| committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-07-18 17:26:57 +0000 |
| commit | 2e97a1e19ef5492a409d206bb544a746cd26360d (patch) | |
| tree | a42b9ab74f13ff012147400069076ed5668c9d41 /lldb/scripts/Python/prepare_binding_Python.py | |
| parent | cfa14ac2a7768f90de3532833c88ccffd2ca0078 (diff) | |
| download | llvm-2e97a1e19ef5492a409d206bb544a746cd26360d.zip llvm-2e97a1e19ef5492a409d206bb544a746cd26360d.tar.gz llvm-2e97a1e19ef5492a409d206bb544a746cd26360d.tar.bz2 | |
[LibTooling] Add function to translate and validate source range for editing
Summary:
Adds the function `getRangeForEdit` to validate that a given source range is
editable and, if needed, translate it into a range in the source file (for
example, if it's sourced in macro expansions).
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64924
llvm-svn: 366469
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
0 files changed, 0 insertions, 0 deletions
