[PATCH] D82901: [libTooling] Fix `maybeExtendRange` to support `CharRange`s.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 11:56:45 PDT 2020


ymandel created this revision.
ymandel added a reviewer: gribozavr2.
Herald added a project: clang.
ymandel added a subscriber: gmatute.

Currently, `maybeExtendRange` takes a `CharSourceRange`, but only works
correctly for the `TokenRange` case. This change adds proper support for the
`CharRange` case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82901

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82901.274559.patch
Type: text/x-patch
Size: 5941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200630/07265a20/attachment-0001.bin>


More information about the cfe-commits mailing list