Currently, maybeExtendRange takes a CharSourceRange, but only works
correctly for the TokenRange case. This change adds proper support for the
CharRange case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D82901
[libTooling] Fix `maybeExtendRange` to support `CharRange`s. ClosedPublic Authored by ymandel on Jun 30 2020, 11:43 AM.
Details Summary Currently, maybeExtendRange takes a CharSourceRange, but only works
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 1 2020, 11:44 AM Closed by commit rGecfa0b24189a: [libTooling] Fix `maybeExtendRange` to support `CharRange`s. (authored by gmatute, committed by ymandel). · Explain WhyJul 1 2020, 2:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 274914 clang/lib/Tooling/Transformer/SourceCode.cpp
clang/unittests/Tooling/SourceCodeTest.cpp
|