[PATCH] D64924: [LibTooling] Add function to translate and validate source range for editing
Yitzhak Mandelbaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 07:56:13 PDT 2019
ymandel created this revision.
ymandel added a reviewer: ilya-biryukov.
Herald added a project: clang.
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).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64924
Files:
clang/include/clang/Tooling/Refactoring/SourceCode.h
clang/lib/Tooling/Refactoring/SourceCode.cpp
clang/unittests/Tooling/SourceCodeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64924.210566.patch
Type: text/x-patch
Size: 6956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190718/9ff07790/attachment-0001.bin>
More information about the cfe-commits
mailing list