Lines Matching refs:fixer
9 :program:`clang-include-fixer` addresses one aspect of this problem by providing
13 While inserting missing ``#include``, :program:`clang-include-fixer` adds
20 To use :program:`clang-include-fixer` two databases are required. Both can be
30 correspond to. Then the :program:`clang-include-fixer` can automatically pick
40 The include fixer contains :program:`find-all-symbols`, a tool to create a
49 $ ninja clang-include-fixer // build clang-include-fixer tool.
52 …$ path/to/llvm/source/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-sym…
57 $ /path/to/clang-include-fixer -db=yaml path/to/file/with/missing/include.cpp
62 To run `clang-include-fixer` on a potentially unsaved buffer in Vim. Add the
67 …r>cf :pyf path/to/llvm/source/clang-tools-extra/clang-include-fixer/tool/clang-include-fixer.py<cr>
69 This enables `clang-include-fixer` for NORMAL and VISUAL mode. Change
70 `<leader>cf` to another binding if you need clang-include-fixer on a different
76 Make sure vim can find :program:`clang-include-fixer`:
78 - Add the path to :program:`clang-include-fixer` to the PATH environment variable.
79 …clang_include_fixer_path`` in vimrc: ``let g:clang_include_fixer_path=path/to/clang-include-fixer``
86 - ``let g:clang_include_fixer_path = "clang-include-fixer"``
88 Set clang-include-fixer binary file path.
110 See ``clang-include-fixer.py`` for more details.
114 To run `clang-include-fixer` on a potentially unsaved buffer in Emacs.
115 Ensure that Emacs finds ``clang-include-fixer.el`` by adding the directory
116 containing the file to the ``load-path`` and requiring the `clang-include-fixer`
121 (add-to-list 'load-path "path/to/llvm/source/clang-tools-extra/clang-include-fixer/tool/"
122 (require 'clang-include-fixer)
125 ``M-x clang-include-fixer``. This will insert the header that defines the
130 ``M-x clang-include-fixer-at-point``.
132 Make sure Emacs can find :program:`clang-include-fixer`:
134 - Either add the parent directory of :program:`clang-include-fixer` to the PATH
136 ``clang-include-fixer-executable`` to point to the file name of the program.
142 :program:`clang-include-fixer` runs in tandem with the parse and receives
145 it emits a callback to the include fixer which then looks for a corresponding
153 Currently :program:`clang-include-fixer` only inserts a single include at a