• Home
  • Raw
  • Download

Lines Matching +refs:clang +refs:rename

13 :program:`clang-rename` is a C++ refactoring tool. Its purpose is to perform
26 :program:`clang-rename` is a `LibTooling
27 <https://clang.llvm.org/docs/LibTooling.html>`_-based tool, and it's easier to
30 <https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html>`_). You can also
35 $ clang-rename -offset=42 -new-name=foo test.cpp -- -Imy_project/include -DMY_DEFINES ...
49 :program:`clang-rename` also aims to be easily integrated into popular text
60 $ clang-rename -qualified-name=foo -new-name=bar test.cpp
63 :program:`clang-rename` doesn't accept both `-offset` and `-qualified-name` at
69 $ clang-rename -offset=42 -new-name=bar1 -offset=150 -new-name=bar2 test.cpp
75 $ clang-rename -qualified-name=foo1 -new-name=bar1 -qualified-name=foo2 -new-name=bar2 test.cpp
105 $ clang-rename -input=test.yaml test.cpp
107 :program:`clang-rename` offers the following options:
111 $ clang-rename --help
112 USAGE: clang-rename [subcommand] [options] <source0> [... <sourceN>]
122 clang-rename common options:
142 You can call :program:`clang-rename` directly from Vim! To set up
143 :program:`clang-rename` integration for Vim see
144 `clang/tools/clang-rename/clang-rename.py
145 <https://github.com/llvm/llvm-project/blob/master/clang/tools/clang-rename/clang-rename.py>`_.
150 Once installed, you can point your cursor to symbols you want to rename, press
159 You can also use :program:`clang-rename` while using Emacs! To set up
160 :program:`clang-rename` integration for Emacs see
161 `clang-rename/tool/clang-rename.el
162 <https://github.com/llvm/llvm-project/blob/master/clang/tools/clang-rename/clang-rename.el>`_.
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.