]> granicus.if.org Git - clang/commit
[ARCMigrate] When applying changes from remap files, disable the 'adjustRemovals...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 28 Apr 2017 00:25:06 +0000 (00:25 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 28 Apr 2017 00:25:06 +0000 (00:25 +0000)
commit232bf3f19ad64866774ba4d448ae07f555f133d8
tree820ea3a8565093002ed9d1d17547c6417defd5b1
parent118b5946cfd942bd239465e4662387947320861f
[ARCMigrate] When applying changes from remap files, disable the 'adjustRemovals' functionality of EditedSource

'adjustRemovals' is used to avoid situation when removing a range inadvertently causes 2 separate identifiers to get joined into one.
But it is not useful when the edits are character precise, as is the case with the remap files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301602 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Edit/EditedSource.h
lib/ARCMigrate/ObjCMT.cpp
lib/Edit/EditedSource.cpp
test/ARCMT/remap-applying.c [new file with mode: 0644]
test/ARCMT/remap-applying.c.result [new file with mode: 0644]