comparison clang-tools-extra/docs/clang-rename.rst @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 0572611fdcc8
children c4bab56944e8
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
140 =============== 140 ===============
141 141
142 You can call :program:`clang-rename` directly from Vim! To set up 142 You can call :program:`clang-rename` directly from Vim! To set up
143 :program:`clang-rename` integration for Vim see 143 :program:`clang-rename` integration for Vim see
144 `clang/tools/clang-rename/clang-rename.py 144 `clang/tools/clang-rename/clang-rename.py
145 <https://github.com/llvm/llvm-project/blob/master/clang/tools/clang-rename/clang-rename.py>`_. 145 <https://github.com/llvm/llvm-project/blob/main/clang/tools/clang-rename/clang-rename.py>`_.
146 146
147 Please note that **you have to save all buffers, in which the replacement will 147 Please note that **you have to save all buffers, in which the replacement will
148 happen before running the tool**. 148 happen before running the tool**.
149 149
150 Once installed, you can point your cursor to symbols you want to rename, press 150 Once installed, you can point your cursor to symbols you want to rename, press
157 ================= 157 =================
158 158
159 You can also use :program:`clang-rename` while using Emacs! To set up 159 You can also use :program:`clang-rename` while using Emacs! To set up
160 :program:`clang-rename` integration for Emacs see 160 :program:`clang-rename` integration for Emacs see
161 `clang-rename/tool/clang-rename.el 161 `clang-rename/tool/clang-rename.el
162 <https://github.com/llvm/llvm-project/blob/master/clang/tools/clang-rename/clang-rename.el>`_. 162 <https://github.com/llvm/llvm-project/blob/main/clang/tools/clang-rename/clang-rename.el>`_.
163 163
164 Once installed, you can point your cursor to symbols you want to rename, press 164 Once installed, you can point your cursor to symbols you want to rename, press
165 `M-X`, type `clang-rename` and new desired name. 165 `M-X`, type `clang-rename` and new desired name.
166 166
167 Please note that **you have to save all buffers, in which the replacement will 167 Please note that **you have to save all buffers, in which the replacement will