[PATCH] D141636: [libTooling] Rename `getRangeForEdit` as `getFileRangeForEdit`

Eric Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 14:31:27 PST 2023


li.zhe.hua created this revision.
li.zhe.hua added a reviewer: ymandel.
Herald added a project: All.
li.zhe.hua requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

With the addition of `getFileRange`, we rename `getRangeForEdit` as
`getFileRangeForEdit` for consistency in the API.

Depends on D141634 <https://reviews.llvm.org/D141634>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141636

Files:
  clang/include/clang/Tooling/Transformer/SourceCode.h
  clang/lib/Tooling/Transformer/RewriteRule.cpp
  clang/lib/Tooling/Transformer/SourceCode.cpp
  clang/unittests/Tooling/SourceCodeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141636.488775.patch
Type: text/x-patch
Size: 6015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/f3a2a491/attachment-0001.bin>


More information about the cfe-commits mailing list