[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)
commit5312b667a86d79afdf683e3040e3c818925368de
treebce68763ab7877ec585b0b21dff8898255752920
parent064b7fecacdfb49bbdbf736e9779b908a1efe5f7
[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.

llvm-svn: 301602
clang/include/clang/Edit/EditedSource.h
clang/lib/ARCMigrate/ObjCMT.cpp
clang/lib/Edit/EditedSource.cpp
clang/test/ARCMT/remap-applying.c [new file with mode: 0644]
clang/test/ARCMT/remap-applying.c.result [new file with mode: 0644]