[clang-tools-extra] r275943 - clang-rename: fix referenced variable in vim-script
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 20 06:53:22 PDT 2016
Sure, r276115.
Thanks,
Hans
On Mon, Jul 18, 2016 at 10:22 PM, Saleem Abdulrasool
<compnerd at compnerd.org> wrote:
> Hey Hans,
>
> I think that we should get this merged into 3.9. Its a trivial fix and
> makes the script usable if you set g:clang_rename_path.
>
> Thanks!
>
> On Mon, Jul 18, 2016 at 7:13 PM, Saleem Abdulrasool via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
>>
>> Author: compnerd
>> Date: Mon Jul 18 21:13:08 2016
>> New Revision: 275943
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=275943&view=rev
>> Log:
>> clang-rename: fix referenced variable in vim-script
>>
>> Modified:
>> clang-tools-extra/trunk/clang-rename/tool/clang-rename.py
>>
>> Modified: clang-tools-extra/trunk/clang-rename/tool/clang-rename.py
>> URL:
>> http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-rename/tool/clang-rename.py?rev=275943&r1=275942&r2=275943&view=diff
>>
>> ==============================================================================
>> --- clang-tools-extra/trunk/clang-rename/tool/clang-rename.py (original)
>> +++ clang-tools-extra/trunk/clang-rename/tool/clang-rename.py Mon Jul 18
>> 21:13:08 2016
>> @@ -25,7 +25,7 @@ import sys
>> def main():
>> binary = 'clang-rename'
>> if vim.eval('exists("g:clang_rename_path")') == "1":
>> - binary = vim.eval('g:clang_rename')
>> + binary = vim.eval('g:clang_rename_path')
>>
>> # Get arguments for clang-rename binary.
>> offset = int(vim.eval('line2byte(line("."))+col(".")')) - 2
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
>
>
>
> --
> Saleem Abdulrasool
> compnerd (at) compnerd (dot) org
More information about the cfe-commits
mailing list