[all-commits] [llvm/llvm-project] 230702: [libTooling] Rename `getRangeForEdit` as `getFileR...

Eric Li via All-commits all-commits at lists.llvm.org
Wed Jan 18 10:58:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2307029b1a43a86aa6614c33aa198addf82d486b
      https://github.com/llvm/llvm-project/commit/2307029b1a43a86aa6614c33aa198addf82d486b
  Author: Eric Li <li.zhe.hua at gmail.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M clang/include/clang/Tooling/Transformer/SourceCode.h
    M clang/lib/Tooling/Transformer/RewriteRule.cpp
    M clang/lib/Tooling/Transformer/SourceCode.cpp
    M clang/unittests/Tooling/SourceCodeTest.cpp

  Log Message:
  -----------
  [libTooling] Rename `getRangeForEdit` as `getFileRangeForEdit`

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

Depends on D141634

Differential Revision: https://reviews.llvm.org/D141636




More information about the All-commits mailing list