]> granicus.if.org Git - clang/commit
Added calculateRangesAfterReplaments() to calculate affacted ranges in the new code.
authorEric Liu <ioeric@google.com>
Tue, 21 Jun 2016 17:56:31 +0000 (17:56 +0000)
committerEric Liu <ioeric@google.com>
Tue, 21 Jun 2016 17:56:31 +0000 (17:56 +0000)
commit0edfbbb61f6aba038649a13111b53655aab15ca5
treeedb9e222f7dbc049308027f7b8657f31c0b5173c
parent824c694722208b17c434ec80f4e6862cf5b24f41
Added calculateRangesAfterReplaments() to calculate affacted ranges in the new code.

Summary:
Added calculateRangesAfterReplaments() to calculate original ranges as well as
newly affacted ranges in the new code.

Reviewers: klimek, djasper

Subscribers: cfe-commits, klimek

Differential Revision: http://reviews.llvm.org/D21547

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273290 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Core/Replacement.h
lib/Tooling/Core/Replacement.cpp
unittests/Tooling/RefactoringTest.cpp