diff options
| author | Eric Li <li.zhe.hua@gmail.com> | 2023-01-12 17:10:39 -0500 |
|---|---|---|
| committer | Eric Li <li.zhe.hua@gmail.com> | 2023-01-12 17:44:29 -0500 |
| commit | 7d0cdbf69edf5b14101d9c11fe9ca4cf5228e81d (patch) | |
| tree | 4d9493d4e9a9a92e100090fb0d86afdf988cac52 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 439ba4c9026db6ab4c0a06737638ac42ebc445fd (diff) | |
[libTooling] Add `getFileRange` as an alternative to `getRangeForEdit`
Add a `getFileRange` function alongside the existing `getRangeForEdit`
as a way to get a contiguous range within a single file (similar to
`getRangeForEdit`) but without the restriction that it cannot be in a
system header.
This can be used where a tool may want to use the range to extract the
source text. In such cases, we don't want to restrict this from
pulling from system headers.
Differential Revision: https://reviews.llvm.org/D141634
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
