[clang-tools-extra] r275943 - clang-rename: fix referenced variable in vim-script
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 18 19:22:01 PDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160718/0b4ab5be/attachment-0001.html>
More information about the cfe-commits
mailing list